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

update brushing code #164

Open
dcooley opened this issue Apr 7, 2019 · 1 comment
Open

update brushing code #164

dcooley opened this issue Apr 7, 2019 · 1 comment

Comments

@dcooley
Copy link
Collaborator

@dcooley dcooley commented Apr 7, 2019

as per: visgl/deck.gl@af7d27e
and
https://github.com/uber/deck.gl/blob/master/docs/api-reference/extensions/brushing-extension.md

combine with #160

Design ideas

every layer gets a brush_option or brush_type, being radius, group, .. other, where

radius : highlights shapes within the radius of the mouse
group : highlights shapes with the same 'value' as the given hovered shape(s)

Then, depending on the type chosen will call the required shaders.

May need different shaders for standard and origin-destination layers

TODO

  • test on scatterplot
  • test on arc
  • add to all POINT layers
  • polygon
  • path
  • line
  • hexagon
  • greatcircle - not working in deck.gl v8.1*
  • mesh
  • implement getBrushingTarget
@SymbolixAU
Copy link
Owner

@SymbolixAU SymbolixAU commented Sep 15, 2019

related - visgl/deck.gl#3591

SymbolixAU added a commit that referenced this issue Sep 18, 2019
SymbolixAU added a commit that referenced this issue Sep 18, 2019
dcooley added a commit that referenced this issue Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.