3dbag-viewer
3dbag-viewer copied to clipboard
Terrain tiles across border are black
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.