-
Hi, Trying to use FlowMapLayer in a vue.js app. Getting error data is FlowMapData Adding layer exactly as in example https://github.com/visgl/flowmap.gl/blob/main/examples/webpack-app/src/app.js what ca be the problem with this? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks, this was the metter. One more question. For what reason clustering may not occur? 2023-04-25.08.29.08.mov |
Beta Was this translation helpful? Give feedback.
-
From your screenshot it looks like you are always passing |
Beta Was this translation helpful? Give feedback.
-
Of course true, checked twice! Ive tried on another dataset, and it's clustering but only for 1 level. 2023-04-25.13.06.25.movIf setting clusteringAuto false and clusteringLevel unlike 1, all objects and flows disappear from map. |
Beta Was this translation helpful? Give feedback.
-
No matter h3 or HCA. On this dataset no clustering. config |
Beta Was this translation helpful? Give feedback.
-
Yes, this was the matter. I modified dataset, and it started to work properly. |
Beta Was this translation helpful? Give feedback.
getLocationCentroid
was refactored intogetLocationLat/Lon
. Check the installed dependency versions. Maybe there's a mismatch betweendata
andlayers
. They should be the same: