-
Notifications
You must be signed in to change notification settings - Fork 38
Rename "background" to "cover" or "fill" #219
Comments
Note: similar concept in Photoshop is called a Fill layer (http://www.dummies.com/how-to/content/how-to-use-fill-layers-in-photoshop-cs6.html) |
Is there an actual use case for many backgrounds or putting background in a different place? Cover doesn't sounds very intuitive to me... I'd rather throw an error if there are several backgrounds or if it's not in the back, and keep "background" name. |
Multiple background layers is useful. For example, a background layer with a transparent |
I would be amenable to "Fill" layer if we weren't already using this layer name for something else...perhaps regardless of whether we implement polygon fills and lines in one layer (#223), we can still rename the current "fill" layer to "polygon" layer and rename "background" to "fill"? Too confusing? |
I tend to think of background layers in terms of the css property: |
What happens in the last background layer is transparent? I guess the glClearColor comes through? |
I was thinking along the same lines as @nickidlugash. This doesn't unlock any new capabilities, so let's pause on it until we see where #223 ends up. |
We should do this for v9, and then reintroduce That enables mapbox/mapbox-gl-js#3280 / mapbox/mapbox-gl-native#119. |
Why should they require a source? |
So that you can have two different "backgrounds":
|
This issue was moved to mapbox/mapbox-gl-js#4084 |
Background is misleading because you can have many of them and they don't have to be "in the back". Let's rename to "cover".
The text was updated successfully, but these errors were encountered: