19jul

Blank map with Mapbox

Posted by costa-admin on Blog - En

If you have a problem with a blank map when using the excellent Google Maps alternative, Mapbox GL JS and none of the advice on their blank map fixing page works. Check if the map continer’s parent has text-align: right or center. I had a blank map and simply setting text-align: left in the div where the map is drawn did the trick!

map on the website