fix map not flying until map moved

This commit is contained in:
Adam 2023-04-28 11:46:47 -04:00
parent 431d48f1c3
commit 65cbee4ea2

View file

@ -19,6 +19,7 @@ export const [mapRotate, setMapRotate] = createSignal(false);
createEffect(() => console.log('Rotate:', mapRotate()));
export const [viewport, setViewport] = createSignal<Viewport>({
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,