The tiles are misplaced (according to the screenshot)
I used exactly this code: https://vue2-leaflet.netlify.app/components/LTileLayer.html#demo
None
Copy the past from the guide.
Correctly placed tiles
Incorrectly placed tiles
I had the same issue, the problem was that I was trying to import the leaflet.css in my public/index.html using the tilde prefix (referring to the NPM package)
<link rel="stylesheet" href="~leaflet/dist/leaflet.css">
but this convention only works from inside a Vue component. Moving it to the
Most helpful comment
I had the same issue, the problem was that I was trying to import the leaflet.css in my public/index.html using the tilde prefix (referring to the NPM package)
but this convention only works from inside a Vue component. Moving it to the