fix maps marker
This commit is contained in:
parent
60c7f61579
commit
3386b17b1b
@ -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> • " +
|
||||
"<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> • " +
|
||||
"<a href='https://www.google.com/maps/dir//" + coordinates + "' target='maps'>Get Direction</a><br>";
|
||||
|
||||
// Add marker to map
|
||||
if (router.enabled == 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user