{{ .Content }}

{{ if (and (isset .Params "longitude") (isset .Params "latitude")) }} {{ partial "leaflet-loader" . }}

Map

{{ partial "leaflet-map" (dict "context" . "mapHeight" "200px" "mapLat" $Lat "mapLon" $Lon) }} {{ partial "leaflet-marker" (dict "context" . "markerLat" $Lat "markerLon" $Lon) }} {{ end }}