Wednesday, 15 September 2010

jquery - How to get x,y coordinates on clicking on Google maps -


I want coordinates for X, Y pixels, which I click on Google Maps using jquery. how to get? I can only get the values ​​of latitude and longitude .. but I need the left, top positions ..

Can anyone please help?

Try to use a click event on the container and on the event a offsetX and offsetY will depend on the container.

See this Bela:



No comments:

Post a Comment