Does MVT style spec support inward or outward blur for line and polygon? #2385
-
Hello community, please see picture above. Does MVT style support inward or outward blur for line and polygon? If not MVT style, can this effect be archived by any other way? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You're not looking for a blur; rather, you're looking for a gradient. One way of achieving this is using |
Beta Was this translation helpful? Give feedback.
You're not looking for a blur; rather, you're looking for a gradient.
One way of achieving this is using
line-pattern
, with the pattern being an image one pixel wide, and as high as the width of your line. The image should be a gradient fully opaque at one end, and fully transparent at the other.