Add `leaflet-marker.html` as a shortcode for map marker.
This commit is contained in:
parent
9cffb5d267
commit
78fd1b8673
|
@ -0,0 +1,4 @@
|
|||
<script>
|
||||
var marker = L.marker([{{ .Get "lat" }}, {{ .Get "long" }}]).addTo(mymap);
|
||||
marker.bindPopup("{{ .Get "msg" }}").openPopup();
|
||||
</script>
|
Loading…
Reference in New Issue