Fix bad JS for marker rendering
This commit is contained in:
parent
54d9ce616d
commit
689cc0319d
1 changed files with 1 additions and 1 deletions
|
|
@ -13,8 +13,8 @@ function mapMarkers() {
|
|||
const markers = [
|
||||
{{ range .Markers }}
|
||||
new mapboxgl.Marker().setLngLat([{{.LatLng.Lng}}, {{.LatLng.Lat}}])
|
||||
];
|
||||
{{end}}
|
||||
];
|
||||
return markers;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue