Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Distinguish background layer and unloaded tile visually #11814

Closed
always-beta opened this issue May 2, 2018 · 1 comment
Closed

Distinguish background layer and unloaded tile visually #11814

always-beta opened this issue May 2, 2018 · 1 comment

Comments

@always-beta
Copy link

77f2eba3-f21e-476e-9e8f-f771e7aa3c72

From the screenshot, right part of the red vertical line has no tiles (or not loaded yet), and left part has loaded tile, but the data in that tile doesn't cover the whole area.
What I want to do is to fill only the right part using some color or pattern but not fill the empty areas in the left part.

I set the background layer's pattern to an image of plane, but it will cover the whole planet no matter whether tiles are loaded or not.

Is there any api or workaround to achieve this?

@jfirebaugh
Copy link
Contributor

#119 tracks this feature.

As a workaround, you could ensure that each tile is completely covered by a square base layer, and style that differently than the background layer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants