mobile-sdk
mobile-sdk copied to clipboard
cartocss `Map` `background-color` does not support view::zoom
if i set this:
Map {
background-color: linear([view::zoom], (5, #e6e4e0), (22, red))
}
Then i end up with a transparent background
Indeed, this is not currently supported. I have to check if this can be easily implemented. Just being curious, what is your use case for this?
@mtehver i am reproducing OSM style in cartocss. And they change the background color with view zoom.
And you could want to do that with south-pole-color and north-pole-color
@farfromrefug This is now implemented in 'develop' branch (you need 'develop' branch from mobile-carto-libs also).
@mtehver thanks will test it!
Closing this, implemented in 4.4.7 release.