diff --git a/templates/org/org_index_map.tmpl b/templates/org/org_index_map.tmpl index 4511d75..bc73eaf 100644 --- a/templates/org/org_index_map.tmpl +++ b/templates/org/org_index_map.tmpl @@ -26,7 +26,7 @@ L.tileLayer('https://m{s}.mapserver.mapy.cz/turist-m/{z}-{x}-{y}', { }).addTo(map); {{ range .Ciphers.Ciphers }} - {{ if .Position.Point.IsZero }}{{ continue }}{{ end }} + {{ if .Position.Point.IsZero }}{{continue}}{{ end }} L.circle({{ .Position.Point | latlon }}, { color: 'yellow', fillColor: '#fbff94', @@ -40,7 +40,7 @@ L.tileLayer('https://m{s}.mapserver.mapy.cz/turist-m/{z}-{x}-{y}', { }).addTo(map).on('click', function() {highlightCipher("{{ .ID }}")}); {{ end }} {{ range .Ciphers.MiniCiphers }} - {{ if .Position.Point.IsZero }}{{ continue }}{{ end }} + {{ if .Position.Point.IsZero }}{{continue}}{{ end }} L.circle({{ .Position.Point | latlon }}, { color: 'yellow', fillColor: '#fbff94', @@ -54,7 +54,7 @@ L.tileLayer('https://m{s}.mapserver.mapy.cz/turist-m/{z}-{x}-{y}', { }).addTo(map).on('click', function() {highlightCipher("{{ .ID }}")}); {{ end }} {{ range .Ciphers.Simple }} - {{ if .Position.Point.IsZero }}{{ continue }}{{ end }} + {{ if .Position.Point.IsZero }}{{continue}}{{ end }} L.marker({{ .Position.Point | latlon }}, { title: "{{ .Name }}", icon: simpleIcon, diff --git a/templates/org/org_playback.tmpl b/templates/org/org_playback.tmpl index 6a6d49d..f7a64f2 100644 --- a/templates/org/org_playback.tmpl +++ b/templates/org/org_playback.tmpl @@ -27,7 +27,7 @@ L.tileLayer('https://m{s}.mapserver.mapy.cz/turist-m/{z}-{x}-{y}', { }).addTo(map); {{ range .Ciphers.Ciphers }} - {{ if .Position.Point.IsZero }}{{ continue }}{{ end }} + {{ if .Position.Point.IsZero }}{{continue}}{{ end }} L.circle({{ .Position.Point | latlon }}, { color: 'yellow', fillColor: '#fbff94', @@ -41,7 +41,7 @@ L.tileLayer('https://m{s}.mapserver.mapy.cz/turist-m/{z}-{x}-{y}', { }).addTo(map).on('click', function() {highlightCipher("{{ .ID }}")}); {{ end }} {{ range .Ciphers.MiniCiphers }} - {{ if .Position.Point.IsZero }}{{ continue }}{{ end }} + {{ if .Position.Point.IsZero }}{{continue}}{{ end }} L.circle({{ .Position.Point | latlon }}, { color: 'yellow', fillColor: '#fbff94', @@ -55,7 +55,7 @@ L.tileLayer('https://m{s}.mapserver.mapy.cz/turist-m/{z}-{x}-{y}', { }).addTo(map).on('click', function() {highlightCipher("{{ .ID }}")}); {{ end }} {{ range .Ciphers.Simple }} - {{ if .Position.Point.IsZero }}{{ continue }}{{ end }} + {{ if .Position.Point.IsZero }}{{continue}}{{ end }} L.marker({{ .Position.Point | latlon }}, { title: "{{ .Name }}", icon: simpleIcon,