Hi,
Thanks for the reply, I got it working on my own when I learned you can't 
change a LatLng, so I declared a new one in onMapReady and it seems to work:
 private function onMapReady(event:MapEvent):void {
    var latlng:LatLng = new LatLng(latitude,longitude);
    map.setCenter(latlng, 18, MapType.NORMAL_MAP_TYPE);
    map.addOverlay(new Marker(latlng));
 }

But that check seems like a good idea too, when I pushed the Flex View with 
the map object (click="navigator.pushView(GmapsMap);)
there's a small delay before the View shows which I think must be the map 
object initializing?

-- 
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.

Reply via email to