Hi all,

Yesterday I wrote to the list about getting the position of a marker
relative to the map edge. I got a couple of responses and was able to get
what I wanted using fromLatLngToDivPixel, allowing me to position a custom
overlay near a marker, offset from the result of that call. However, I need
the result to update if the map is scrolled or zoomed. I can do this using
fromLatLngToContainerPixel BUT for some reason this messes with the offset -
if I scroll a marker up, the offset of the overlay is FURTHER AWAY from the
marker. How can I update the result of fromLatLngToDivPixel when the map is
moved or zoomed?

 

Regards,

Michael Price


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