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.
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.