blog/layouts/shortcodes/leaflet-circle.html

9 lines
194 B
HTML
Raw Permalink Normal View History

<script>
var circle = L.circle([{{ .Get "lat" }}, {{ .Get "long" }}], {
color: 'red',
fillColor: '#f03',
fillOpacity: 0.5,
radius: 500
}).addTo(mymap);
</script>