Add `leaflet-circle.html` as a shorcode for map circle.
This commit is contained in:
parent
78fd1b8673
commit
7e1fc240f3
|
@ -0,0 +1,8 @@
|
||||||
|
<script>
|
||||||
|
var circle = L.circle([{{ .Get "lat" }}, {{ .Get "long" }}], {
|
||||||
|
color: 'red',
|
||||||
|
fillColor: '#f03',
|
||||||
|
fillOpacity: 0.5,
|
||||||
|
radius: 500
|
||||||
|
}).addTo(mymap);
|
||||||
|
</script>
|
Loading…
Reference in New Issue