ah, sorry
initialized is for the Flex container, not the content loaded. Not sure what 
to test for to see if the map has loaded before you mark it.I'm sure there 
must be a property but in the meantime

private var mapIsReady:Boolean = false;

private function onMapReady(event:Event):void 
            {
                map.setCenter(new LatLng(51.50831,-0.126763), 8 , 
MapType.NORMAL_MAP_TYPE);
                mapIsready = true;
            }

private function onUpdate(event:GeolocationEvent):void
           {
                if(mapIsReady)
                //do your thing
            }


fingers crossed that works

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