mapdeck icon indicating copy to clipboard operation
mapdeck copied to clipboard

update brushing code

Open dcooley opened this issue 6 years ago • 1 comments

as per: https://github.com/uber/deck.gl/pull/2914/commits/af7d27e507da963bd775d7b9452c28bae2590cec and https://github.com/uber/deck.gl/blob/master/docs/api-reference/extensions/brushing-extension.md

combine with https://github.com/SymbolixAU/mapdeck/issues/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

  • [x] test on scatterplot
  • [x] test on arc
  • [x] add to all POINT layers
  • [x] polygon
  • [x] path
  • [x] line
  • [x] hexagon
  • [ ] greatcircle - not working in deck.gl v8.1*
  • [x] mesh
  • [ ] implement getBrushingTarget

dcooley avatar Apr 07 '19 04:04 dcooley

related - https://github.com/uber/deck.gl/issues/3591

SymbolixAU avatar Sep 15 '19 22:09 SymbolixAU