blog/layouts/shortcodes/leaflet-marker.html

5 lines
148 B
HTML
Raw Normal View History

<script>
var marker = L.marker([{{ .Get "lat" }}, {{ .Get "long" }}]).addTo(mymap);
marker.bindPopup("{{ .Get "msg" }}").openPopup();
</script>