Hi,
So if I move the setCenter & addOverlay to onUpdate the onMapReady function
is empty, the map loads showing the whole world with no marker! (this
happens when I go to another view and pop back to the Map view, which is why
I have a Refresh button that calls setCenter and addOverlay again)
So can I call onUpdate from within onMapReady maybe?
private function onMapReady(event:MapEvent):void {
if(map.initialized)
{
onUpdate(what do I pass in here?);
}
}
About the LatLng, I read you can't edit it here:
http://code.google.com/apis/maps/documentation/javascript/reference.html#LatLng
"Notice also that you cannot modify the coordinates of a LatLng. If you want
to compute another point, you have to create a new one."
Yeah that delay thing on the View push is annoying, I was hoping to
implement a little timer thing or progress bar or something eventually, if
they're not too difficult.
Cheers.
--
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.