Is there any possibility that you've got an overlay that has a missing 
GLatLng? When you zoom, all the overlays get .redraw()n, and they all 
call .prototype.fromLatLngToPixel() to work out where their new position 
should be.

I've done some experiments, and convinced myself that it can't happen 
with GMarkers - if you try to create a GMarker that has no latlng, the 
API creates one for you at new GLatLng(NaN,undefined). I've not tried 
other types of overlay.

In particular, watch out for a missing "new" in "new GLatLng(lat,lng)" 
when creating overlays. If you try to call the GLatLng class as a 
Function, rather than a Constructor, it returns void.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to