Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Get Latitude and Longitude from mouse click
posted

How can I get the Latitude and Longitude from the map. I know how to get the clientX and clientY from the mouse click using

  $("#map").bind("click", function(event) {
console.log("X: " + event.clientX + ", Y: " + event.clientY);
});

But how does that relate to the Latitude and Longitude.