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

feat: add new type of layer Categorized #1953

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Conversation

yohanboniface
Copy link
Member

This is like Choropleth, but with categories instead of graduated.

fix #1433

I'd tried to keep only one class (Choropleth), but given Choropleth needs numbers while Categorized use anything and Choropleth needs breaks (range of values) while Categorized only checks for equality, this was ending with more mess.

Screencast.from.2024-07-01.12-44-45.webm

@yohanboniface
Copy link
Member Author

cc @severinmenard @Ecologeek

This is like Choropleth, but with categories instead of graduated.

fix #1433
@davidbgk
Copy link
Contributor

davidbgk commented Jul 1, 2024

The LEGEND! 🤩

@yohanboniface yohanboniface merged commit 257d205 into master Jul 5, 2024
4 checks passed
@yohanboniface yohanboniface deleted the categorized-layer branch July 5, 2024 16:18
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

Successfully merging this pull request may close these issues.

Add a Category type for layers
2 participants