-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line-comp-op understanding #17
Comments
About comp-op. First, there are two kinds of comp-ops - feature level and layer level. Layer level comp-op ( SDK does support limited number of comp-ops compared to the original CartoCSS standard and I am not really sure they work as expected when alpha value is less than 1. Also, layer blending animations may create strange artifacts. Regarding |
@mtehver the best example is contours in this theme https://github.com/farfromrefug/new_carto_theme |
@farfromrefug Please share the contours mbtiles. Regarding |
@mtehver here you go terrain_25m-contours10m.mbtiles: |
I am looking to achieve something like this
https://external-content.duckduckgo.com/iu/?u=http%3A%2F%2Fwww.alta-via.fr%2Fguide%2Fimages%2Fstories%2Fconditions%2Fhiver-13-14%2F2014-02-03-envers-du-plan.jpg&f=1&nofb=1
The idea is to have contour lines change color based on the background. I was thinking of using "darken" to do that
The first thing is that i cant seem to get line comp op to work as expected:
And i think
line-opacity
breaks it while setting a color with alpha does notThe text was updated successfully, but these errors were encountered: