From ac9cc09038866064816f2d40a90ac3706ab9cf0a Mon Sep 17 00:00:00 2001 From: Jo Kroese Date: Fri, 19 Jul 2024 21:02:07 +0200 Subject: [PATCH] avoid offset type error --- src/lib/Map.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/Map.svelte b/src/lib/Map.svelte index d6b88ff..de5bdb3 100644 --- a/src/lib/Map.svelte +++ b/src/lib/Map.svelte @@ -151,9 +151,7 @@ const description = text; if (coordinates.length === 2) { new Popup({ - offset: { - bottom: [0, -markerHeight] - }, + offset: [0, -markerHeight], anchor: 'bottom', maxWidth: 'none' })