I am using the google map api for flash, while developing in AIR for
Android. That said, the map seems to draw really slow on my droid. I
noticed that the google map app that comes with the phone loads really
fast, but alas my AIR app loads the map slow. I also noticed that the
native google maps seems to draw the map into much smaller tiles. How
can i speed up the map draw time and/or change the tile size of my map..
[as]
map.addEventListener(MapEvent.MAP_PREINITIALIZE, initMap);
map.addEventListener(TransformGestureEvent.GESTURE_ZOOM,onMapZoom);
map.cacheAsBitmap=true;
this.addChild(map);
function initMap(event:Event):void {
trace("init map called");
//map.setCenter(new LatLng(myLat,myLong), 14, MapType.NORMAL_MAP_TYPE);
var myMapOptions:MapOptions = new MapOptions();
myMapOptions.zoom = 12;
myMapOptions.center = new LatLng(myLat,myLon);
myMapOptions.mapType = MapType.NORMAL_MAP_TYPE;
this.map.setInitOptions(myMapOptions);
}
[/as]
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en.