Skip to content
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

Feature properties from data #62

Open
kylerchin opened this issue Mar 3, 2024 · 1 comment
Open

Feature properties from data #62

kylerchin opened this issue Mar 3, 2024 · 1 comment

Comments

@kylerchin
Copy link
Contributor

Hi! I was wondering if I can load in geojson data and also mvt data and have the colour come from the value? Will this be in the next version?

@Maximkaaa
Copy link
Owner

In case of Geojson, you can implement it with symbols. The feature_layers example takes the color for countries from the features' properties. As for MVT, the current approach to styling vector tiles does not allow this yet, but it will probably be changed to be more flexible and performant. I don't have a timeline for this though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants