Deck.gl and Flow Map Layer

Tiago Silva Apr 21

451 0 Replies
angular   other  

Good evening,

Im new at angular and the web gl framework. 

I'm using deck.gl and Flow Map Layer to view the animal tracks.

https://i.ibb.co/wKQnn75/deckgl-map.png
https://i.ibb.co/hRGtK6q/flowmap-layer.png

The Flow Map Layer it's already implemented, but my problem now it's how im gonna cluster this layer when i zoom in and zoom out.

I found a example in GitHub but im facing code issues. I dont have any idea how to fit the code in my app as the folowing image shows.
https://i.ibb.co/HBZKDGW/code-problems.png

https://github.com/teralytics/flowmap.gl/blob/2339e77145e1fdca95172d712de99b6aef42b2c9/examples/src/components/ClusteringExample.tsx#L24

Much appreciated,

Tiago Silva