I\'m starting leaflet.js with the quickstart but my map shows as grey... is there something I\'m missing?
script.js:
var leafletMap = L.map(\'leaflet
Another thing to watch.
If you check the network tab and the map tiles are loading ok, yet the map still remains grey, it can be due to CSS contamination from your surrounding page.
In my case it was:
img {
max-height: 100%;
}
Fixed by overriding with:
.my-leaflet-map-container img {
max-height: none;
}