From 507826f2efd7379e8a7709a3b8432f3bcca25d2b Mon Sep 17 00:00:00 2001 From: "john.schaap@kadaster.nl" Date: Mon, 20 Nov 2023 17:33:57 +0100 Subject: [PATCH] feature map added to features and feature go template --- ogc/features/templates/feature.go.html | 22 ++++++++++++++++++++-- ogc/features/templates/features.go.html | 24 +++++++++++++++++++++--- 2 files changed, 41 insertions(+), 5 deletions(-) diff --git a/ogc/features/templates/feature.go.html b/ogc/features/templates/feature.go.html index 06d12233..17fe88c1 100644 --- a/ogc/features/templates/feature.go.html +++ b/ogc/features/templates/feature.go.html @@ -23,8 +23,26 @@

{{ .Config.Title }} - {{ if and .Params.Metadata .Params.Metad -
- TODO: Display map with feature here +
+ + + + + + + + + + + +
diff --git a/ogc/features/templates/features.go.html b/ogc/features/templates/features.go.html index 2db5f6f5..b6d18fa2 100644 --- a/ogc/features/templates/features.go.html +++ b/ogc/features/templates/features.go.html @@ -10,6 +10,7 @@ url.searchParams.set(name, value); window.location.href = url.toString(); } +
@@ -33,9 +34,26 @@
+ {{ $collId := .Params.CollectionID }} + +
+ + + + + + + + + -
- TODO: Display map with features here
@@ -63,7 +81,7 @@
- {{ $collId := .Params.CollectionID }} + {{ range $feat := .Params.Features }}