dorfylegends/backend/templates/landmass.html
Robert Janetzko 41d54dd5f3 detail maps
2022-05-08 07:35:57 +00:00

17 lines
No EOL
345 B
HTML

{{template "layout.html" .}}
{{define "title"}}{{ title .Name }}{{end}}
{{define "content"}}
<h1>{{ title .Name }}</h1>
<p>landmass</p>
<div class="object-map">
<div id="map" style="width: 300px; height: 300px"></div>
</div>
{{initMap}}
{{ addLandmass .Id }}
<script>map.addLayer(landmassesLayer);</script>
<p>{{ json . }}</p>
{{- end }}