fix maps marker

This commit is contained in:
iBNu Maksum 2025-02-04 13:51:43 +07:00
parent 60c7f61579
commit 3386b17b1b
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -51,9 +51,9 @@
console.log(coordinates.split(","))
// Create a popup for the marker
var popupContent = "<strong>Name</strong>: " + name + "<br>" +
"<strong>Info</strong>: " + info + "<br>"
"<a href='{/literal}{$_url}{literal}routers/edit/"+ router.id +"'>More Info</a> &bull; " +
"<a href='https://www.google.com/maps/dir//" + coordinates + "' target='maps'>Get Direction</a><br>";
"<strong>Info</strong>: " + info + "<br>" +
"<a href='{/literal}{$_url}{literal}routers/edit/"+ router.id +"'>More Info</a> &bull; " +
"<a href='https://www.google.com/maps/dir//" + coordinates + "' target='maps'>Get Direction</a><br>";
// Add marker to map
if (router.enabled == 1) {