FlyTo on existing Mapbox Object in Svelte
I have a Svelte application with a Map component as below. I’d like to pass in props for centreCoords and Zoom and then fly to them when they change outside the component. However, I can’t work out how to get the map object outside the onMount function. <script> import { onMount, onDestroy } from ‘svelte’;… Read More FlyTo on existing Mapbox Object in Svelte