Skip to content
Discussion options

You must be logged in to vote

Looks like line dasharray doesn't yet support data driven styling, so you can't use feature get: https://maplibre.org/maplibre-style-spec/layers/#line-dasharray

Upstream issues:

In this case, you can use multiple line layers, each with a filter, to accomplish what you want.

Replies: 2 comments 2 replies

Comment options

jgillich
Aug 11, 2025
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sargunv
Comment options

@jgillich
Comment options

jgillich Aug 11, 2025
Collaborator Author

Answer selected by jgillich
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