How to access Google Maps API v3 marker's DIV and it's pixel position?
Posted
by Ray Yun
on Stack Overflow
See other posts from Stack Overflow
or by Ray Yun
Published on 2010-04-20T10:49:07Z
Indexed on
2010/04/20
10:53 UTC
Read the original article
Hit count: 773
google-maps-api-3
|google-maps
Instead of google maps api's default info window, I'm going to use other jquery tooltip plugin over marker. So I need to get marker's DIV and its pixel position.
But couldn't get it because there are no id or class for certain marker. Only I can access map canvas div from marker object and undocumented pixelBounds object.
- How can I access marker's DIV?
- Where can I get DIV's pixel position? Can I convert lat-lng position to pixel values?
© Stack Overflow or respective owner