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.
Hi Jason,
Insteaf of binding to the "click" event, try attaching a handler to the seriesMouseLeftButtonDown event. Use ui.item[ui.series.longitudeMemberPath] and ui.item[ui.series.latitudeMemberPath] to get value from the field containing latitude/longitude values.