Open anvimaa opened 5 months ago
I'm having difficulty integrating the library into my SvelteKit project.
Whenever I run the project and open the map page, the error appears: Windows is not defined
In your +page.js, add this code: export const ssr = false;
. Hope it helps.
And I also created a Svelte Leaflet Library: Sveaflet, maybe you can have a try.
I'm having difficulty integrating the library into my SvelteKit project.
Whenever I run the project and open the map page, the error appears: Windows is not defined