When creating a map (not using Dark Theme), we can see everything.

Then, when loading the page with map on it (dark theme), we can see the red marker, but the map is blank. Actual land tiles are loading, but they are white so the map appears blank. Six PNGS load fine, like this one:

http://a.tiles.mapbox.com/v1/mapbox.world-glass/5/24/17.png

They are land tiles where the land is white. But there is no background colour being loaded, so the map appears blank.

Six other PNG tiles - presumably the background tiles - totally fail to load, such as these:

http://a.tiles.mapbox.com/v1/mapbox.world-glass/11/1634/1122.png
http://a.tiles.mapbox.com/v1/mapbox.world-glass/11/1633/1121.png
http://a.tiles.mapbox.com/v1/mapbox.world-glass/11/1632/1122.png
http://a.tiles.mapbox.com/v1/mapbox.world-glass/11/1634/1121.png
http://a.tiles.mapbox.com/v1/mapbox.world-glass/11/1633/1122.png
http://a.tiles.mapbox.com/v1/mapbox.world-glass/11/1632/1121.png

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mr.honeyfoot’s picture

Here's a screenshot, where you can see the map tiles are being loaded (I restricted the width of the browser to force the maps to overflow). You can clearly see the land. But the lack of background colour means that the map appears blank.

mr.honeyfoot’s picture

Switching from Mapbox Glass to any other style fixes the problem. Not sure why, but here's how:

1. Just go here:

admin/structure/openlayers/maps/openaid_projects/edit

2. Click the layers and styles tab. Edit default map and enabled map settings, from glass to anything else.

So OpenAid devs, there's a problem with the openlayers/mapbox GLASS settings specfically.

rballou’s picture

Status: Active » Fixed

This should be fixed now. The background color was not being set for the maps by default.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.