Simply set the doubleClickMode during initialization of the map:
var map:Map = new Map();
with (map) {
key = "YourKey";
addEventListener(MapEvent.MAP_PREINITIALIZE, onMapPreinitialize);
addEventListener(MapEvent.MAP_READY, onMapReady);
}
function onMapPreinitialize(e:MapEvent):void {
var mapOptions:MapOptions = new MapOptions();
mapOptions.zoom = 13;
mapOptions.center = new LatLng(YourLat, YourLng);
mapOptions.mapType = MapType.NORMAL_MAP_TYPE;
mapOptions.doubleClickMode = MapAction.ACTION_NOTHING;
map.setInitOptions(mapOptions);
}
Regards, Darek
--
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.