Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12980] BlackBerry : Maps opens up pixelated when the app in relaunched after 2-3 initial app launches

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-03-08T16:20:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-03-06T20:05:13.000+0000
Updated2014-06-19T12:43:39.000+0000

Description

Note : Its not necessary the map will be pixelated on the 3rd or the 4th launch only. Description: 1.Create & run the app with the code below 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.Launch the app 3-4 times 3.see the maps nearly after 3rd or 4th launch Actual Result: 1.The maps looks pixelated Expected Result: 1.The maps should be displayed properly (non pixelated) Screenshot attached for reference

Attachments

FileDateSize
Screen Shot 2013-03-06 at 10.59.36 AM.png2013-03-06T20:05:13.000+000050941

Comments

  1. Lokesh Choudhary 2013-03-21

    Verified the fix & the map loads fine as it should. Environment: Ti Studio : 3.1.0.v20130320125153 Ti BB SDK : 3.1.0.v20130319225749 Mac OSX : 10.8.2 win 7 Win 8 BB simulator : 10.0.10.261 BB simulator : 10.0.9.2372 Dev alpha B 10 device

JSON Source