3DBAG / 3dbag-viewer

https://3dbag.nl
GNU General Public License v3.0
35 stars 10 forks source link

Terrain tiles across border are black #84

Open jliempt opened 2 years ago

jliempt commented 2 years ago

White would look much nicer.

It happens because the WMTS tile matrices are square whereas the country is not. Requesting a tile across the border returns a fully transparent image, which is automatically rendered black.

Could be solved by checking if the image has transparency, not sure if that is expensive.