blog/layouts/shortcodes/leaflet-marker.html

5 lines
148 B
HTML
Raw Permalink Normal View History

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