ad markers

This commit is contained in:
Crawlerop 2020-10-26 14:03:49 +07:00
parent 90f0beccd5
commit cf16bc615f

View file

@ -486,7 +486,8 @@
}).addTo(mymap)
L.easyButton('fa-pencil', function(){
document.location = "editor.html?lat="+start[0]+"&lng="+start[1]
adm = adMarker.getLatLng()
document.location = "editor.html?lat="+adm.lat+"&lng="+adm.lng
}).addTo(mymap)
//console.log(addLayer)