From 5cb8885131d70b29f9741f1700e5763ab78d78f0 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Sun, 13 Oct 2024 01:59:17 +0200 Subject: [PATCH] config for gratuitude control --- src/Components/Map/UtopiaMap.tsx | 3 ++- src/types.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Components/Map/UtopiaMap.tsx b/src/Components/Map/UtopiaMap.tsx index 48382c2c..f4df7297 100644 --- a/src/Components/Map/UtopiaMap.tsx +++ b/src/Components/Map/UtopiaMap.tsx @@ -51,6 +51,7 @@ function UtopiaMap({ children, geo, showFilterControl = false, + showGratitudeControl = false, showLayerControl = true } : UtopiaMapProps) { @@ -123,7 +124,7 @@ function UtopiaMap({ {showFilterControl && } {/*todo: needed layer handling is located LayerControl*/} {showLayerControl && } - {} + {showGratitudeControl && }