I have a flex google map that i created using the code in the demo
with an onMapReady function of
private function onMapReady(event:Event):void {
map.enableScrollWheelZoom();
map.enableContinuousZoom();
map.addControl(overview);
overview.setSize(new Point(165,165));
overview.setControlPosition(new
ControlPosition(ControlPosition.ANCHOR_BOTTOM_RIGHT,2,2));
map.setCenter(new LatLng(-33.87205, 151.203874),14,
MapType.NORMAL_MAP_TYPE);
map.addControl(new (zoomControl));
}
I have a doGeocode function that Geocodes for me.
When I first go into the map it sets to a zoom level of 14 smack ontop
of Sydney Australia. If I try and zoom in or out the zoom works but
the slider level on the zoom control duplicates. I.e. the marker at
zoom level 14 remains there. As soon as I run a geocoding event I go
back to a single zoom slider level and clicking on the slider level is
ok. I think it's something to do with my map.setCenter function
above but I can't seem to prevent it happening.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---