[TIMOB-12964] BlackBerry : Maps is not working with build 3.1.0.v20130305095817, the app just quits
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2013-03-06T19:59:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Russell McMahon |
Created | 2013-03-05T22:17:43.000+0000 |
Updated | 2017-03-13T18:30:18.000+0000 |
Description
Description:
1.Build & run the test app for maps given by russ on BB device/simulator
var win = Titanium.UI.createWindow({orientationModes:[Ti.UI.PORTRAIT]});
var mountainView = Titanium.Map.createAnnotation({
latitude:37.389493,
longitude:-122.050166,
title:"Appcelerator Headquarters",
subtitle:'Mountain View, CA',
pincolor:Ti.Map.ANNOTATION_GREEN,
rightView: 'images/appcelerator_small.png',
leftView: 'images/appcelerator_small.png',
myid: 1
});
var tlBeerGarden = Titanium.Map.createAnnotation({
latitude:37.390749,
longitude:-122.051651,
title:"TL Beer Garden",
subtitle:'Sunnyvale, CA',
pincolor:Ti.Map.ANNOTATION_RED,
rightView: 'images/appcelerator_small.png',
leftView: 'images/appcelerator_small.png',
myid: 2
});
var mapview = Titanium.Map.createView({
region: {latitude:37.390749, longitude:-122.051651},
annotations:[mountainView, tlBeerGarden]
});
win.add(mapview);
// Handle click events on any annotations on this map.
tlBeerGarden.addEventListener('click', function(evt) {
if (evt.clicksource == 'leftView' || evt.clicksource == 'rightView') {
Ti.API.info("Annotation " + evt.clicksource + ", pane clicked.");
}
});
win.open();
2.Observe the behaviour after app launches
Actual Result:
1. The app just quits after splash screen
Expected Result:
1. The app should launch & show the maps
Closing this ticket as the issue is not our bug.