From cf16bc615fe82c258233229c8da48acb04eba86f Mon Sep 17 00:00:00 2001 From: Crawlerop Date: Mon, 26 Oct 2020 14:03:49 +0700 Subject: [PATCH] ad markers --- lpadsjs/mapads_marker.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lpadsjs/mapads_marker.html b/lpadsjs/mapads_marker.html index d05663e..85d8956 100644 --- a/lpadsjs/mapads_marker.html +++ b/lpadsjs/mapads_marker.html @@ -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)