Skip to content

Conversation

@PierrickP
Copy link

In our use case, we have a number of editable classes (from 3 to 5) and define our own color palette.

We realized that the number of classes was not customizable and that if we passed a palette of 2 colors, the library made interpolation.
This creates a difference between the map and the legend that we generate.

This pull request, add a getFlowColor that give a total control of the color of the flow

image

@netlify
Copy link

netlify bot commented Mar 1, 2023

Deploy Preview for flowmapgl canceled.

Name Link
🔨 Latest commit 95c9209
🔍 Latest deploy log https://app.netlify.com/sites/flowmapgl/deploys/63ff3162ba6e3d0008e8af86

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.

2 participants