dorfylegends/backend/templates/landmass.html

17 lines
345 B
HTML
Raw Normal View History

2022-05-04 15:07:35 +03:00
{{template "layout.html" .}}
{{define "title"}}{{ title .Name }}{{end}}
{{define "content"}}
<h1>{{ title .Name }}</h1>
<p>landmass</p>
2022-05-08 10:35:57 +03:00
<div class="object-map">
<div id="map" style="width: 300px; height: 300px"></div>
</div>
{{initMap}}
{{ addLandmass .Id }}
<script>map.addLayer(landmassesLayer);</script>
2022-05-04 15:07:35 +03:00
<p>{{ json . }}</p>
{{- end }}