mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.37k stars 1.33k forks source link

Placeholder for still-loading tile is always land #1210

Closed 1ec5 closed 9 years ago

1ec5 commented 9 years ago

When you pan or zoom, tiles that haven’t loaded are represented by solid land-colored tiles:

straight-edge

This behavior makes sense on land, but not as much when you’re panning around in the ocean or in an archipelago. It would be nice if GL could know that the entire screen edge is all water-colored, so the placeholder tiles should also be water-colored.

If that’s too complex, would it be possible to let the developer somehow style this background (independently of the style’s land color)? The developer might want something like:

linen

I kid. More realistically, a UIVisualEffectView underneath the tiles could be a really cool effect.

incanus commented 9 years ago

I think #119 probably covers this better and in a more expected way? The color BTW is background in the style.

1ec5 commented 9 years ago

Agreed.