I have 1 simple question:
Why does the 'regionChanged' change the zoom factor of a map.
Central.prototype.drawMap = function(parent_obj, zoom_lat, zoom_long) { parent_obj.map = Titanium.Map.createView({ top : the_screen.getMapTop(), mapType : Titanium.Map.STANDARD_TYPE, animate : true, regionFit : true, userLocation : false, latitudeDelta : zoom_lat, longitudeDelta : zoom_long }); parent_obj.win.add(parent_obj.map); return parent_obj.map; } this.the_map = central.drawMap(this, 0.05, 0.05); this.the_map.addEventListener('regionChanged', function(e) { // I am not doing anything at all, so you think!!!!!!! });Magic the zoom factor of the map has changed when you load it with say some points on it. What gives? This should not happen.
Your Answer
Think you can help? Login to answer this question!