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

Add getFlowColor method #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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