Better map link.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4461 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
15d0383349
commit
191b45f054
@ -289,7 +289,7 @@ class GgAppElement extends LitElement {
|
|||||||
let popup = L.popup()
|
let popup = L.popup()
|
||||||
.setLatLng(event.latlng)
|
.setLatLng(event.latlng)
|
||||||
.setContent(`
|
.setContent(`
|
||||||
<div><a target="_top" href="https://www.google.com/maps/@${event.latlng.lat},${event.latlng.lng},${this.leaflet.getZoom()}z">${event.latlng.lat}, ${event.latlng.lng}</a></div>
|
<div><a target="_top" href="https://www.google.com/maps/search/?api=1&query=${event.latlng.lat},${event.latlng.lng}">${event.latlng.lat}, ${event.latlng.lng}</a></div>
|
||||||
`)
|
`)
|
||||||
.openOn(this.leaflet);
|
.openOn(this.leaflet);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user