Skip to content

Does MVT style spec support inward or outward blur for line and polygon? #2385

Closed Answered by IvanSanchez
zhangyiatmicrosoft asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zhangyiatmicrosoft
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants