mapbox / mapbox-studio-classic

https://www.mapbox.com/mapbox-studio/
BSD 3-Clause "New" or "Revised" License
1.14k stars 229 forks source link

Pattern rendering on studio classic 3.5.0 #1553

Open xrwang opened 8 years ago

xrwang commented 8 years ago

For a layer with a .png image as a pattern and agg-stack-blur applied, pattern is not rendered, and the polygon color is darker. In 3.5.0 water-polygon looks like this, carto-css on right:

screen shot 2016-04-18 at 11 34 43 am

in studio classic 3.3.0:

screen shot 2016-04-18 at 11 39 43 am
jakepruitt commented 8 years ago

@xrwang you found a great bug here - it looks like the mix(color1, color2, weight) has been flipped from its previous functionality, now you get weight amount of color 2 rather than weight amount of color 1. Going to solve this in the next studio release.