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

Custom location colors #32

Open
mcpxd1 opened this issue Jul 13, 2023 · 1 comment
Open

Custom location colors #32

mcpxd1 opened this issue Jul 13, 2023 · 1 comment

Comments

@mcpxd1
Copy link

mcpxd1 commented Jul 13, 2023

Hello,

I've been using flowmap.gl and it has what I need but I've just noticed something. There is no prop to be able to change the color of the location based on certain criteria. Similar to getFlowColor (which allow to implement logic to assign the colors), I was expecting to find a getLocationColor (or something like that). Is there any way to do it in the latest version?

@ilyabo
Copy link
Member

ilyabo commented Jul 15, 2023

It's not supported by the FlowmapLayer at the moment. You can however try to use FlowLineLayer directly together with deck.gl's ScatterplotLayer to render the circles and color them as you prefer.

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