Steps to Reproduce
Add a map view and set regionFit=true
Actual Result
Region does not fit and remains on the default zoom level
Expected Result
Region should be fit
Test case
var win = Ti.UI.createWindow({
layout : 'vertical'
});
var MapModule = require('ti.map');
var mapData = {
//BlackBerry test
mapType: Titanium.Map.STANDARD_TYPE,
//iOS test
//mapType: MapModule.STANDARD_TYPE,
region : {
latitude : 33.74511,
longitude : -84.38993,
latitudeDelta : 0.5,
longitudeDelta : 0.5
},
animate : true,
regionFit : true,
userLocation : true
};
//BB test
var mapview = Titanium.Map.createView(mapData);
win.add(mapview);
//iOS
//var MapModule = require('ti.map');
//var mapview = MapModule.createView(mapData);
win.add(mapview);
win.open();
Hi Steve, Can you please post your test code? It will help us to expedite the review process. We can then provide you a work-around or recommendation. Thanks,
BlackBerry is dead.
Closing ticket as BlackBerry is no longer supported.