sveltekit and maps Testing some map libraries. Leafelet OpenLayers MapLibre Mapbox Gotchas leaflet uses window without checking if it's defined; workaround is to disable SSR (see /src/routes/+layout.svelte).