Skip to main content

All Questions

Tagged with
2 votes
6 answers
7k views

LeafLet implementation on Next JS 13

I trying to implement a LeafLet map component in my Next JS 13.0.1 project, but I'm having a problem with the render of the map component. In the first load of the map component, this error appears: ...
João Danilo Zucolotto's user avatar
1 vote
1 answer
1k views

How can I fix the 'window is not defined' error while using react-leaflet and Next.js?

I am using Leaflet to generate a Map for my website, but it seems to be causing a window is not defined error. I have been searching for a while and the cause of this issue appears to be that leaflet ...
Ahmad Nasser's user avatar