Closed MachariaK closed 3 years ago
How can I get the latitude and longitude of a clicked location on the map?
Sorted. function clicked(event) { console.log(event.latLng.lat()); console.log(event.latLng.lng()); }
function clicked(event) { console.log(event.latLng.lat()); console.log(event.latLng.lng()); }
How can I get the latitude and longitude of a clicked location on the map?