Format
This commit is contained in:
parent
4c41034749
commit
8a6b8fe950
@ -31,8 +31,8 @@
|
||||
|
||||
map.on('click', (e) => {
|
||||
try {
|
||||
lat = '' + e.latlng.lat;
|
||||
lon = '' + e.latlng.lng;
|
||||
lat = '' + e.latlng.lat;
|
||||
lon = '' + e.latlng.lng;
|
||||
addr = address_from_lat_lon(e.latlng.lat, e.latlng.lng);
|
||||
popup.setLatLng(e.latlng).setContent(`You clicked at ${addr}`).openOn(map);
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user