From 65cbee4ea231d3f257488cdde64f8f0fd82333a5 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Fri, 28 Apr 2023 11:46:47 -0400 Subject: [PATCH] fix map not flying until map moved --- lightning/src/components/map/BadassMap.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/lightning/src/components/map/BadassMap.tsx b/lightning/src/components/map/BadassMap.tsx index 571eb4a..ab2ae4d 100644 --- a/lightning/src/components/map/BadassMap.tsx +++ b/lightning/src/components/map/BadassMap.tsx @@ -19,6 +19,7 @@ export const [mapRotate, setMapRotate] = createSignal(false); createEffect(() => console.log('Rotate:', mapRotate())); export const [viewport, setViewport] = createSignal({ + id: '0-0-0-0-0-0-0-0-0-1-0-0-0-1-0-0-0', // this is what it likes to be called or the map won't move... center: { lng: -96, lat: 38, }, zoom: 4.25, bearing: 0,