You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @titouanmathis, is there any reason why you don't allow for a custom id and auto generate ones with add an incremental index, for the 4 components included in a cluster (source, clusters layer, cluster-point layer unclustered layer)?
I've noticed some issues when sometimes (haven't figured out when), the index ends up different from 0. Would it be possible to add a prop so that one can set a specific prefix? I can help with a PR if that can help.
The text was updated successfully, but these errors were encountered:
Hi @tmlmt, this was done to be able to skip defining IDs each time we use the component. A prop allowing to override this behavior is a good idea and a PR is more than welcome :)
Hey @titouanmathis, is there any reason why you don't allow for a custom id and auto generate ones with add an incremental index, for the 4 components included in a cluster (source, clusters layer, cluster-point layer unclustered layer)?
vue-mapbox-gl/packages/vue-mapbox-gl/components/MapboxCluster.vue
Lines 136 to 139 in 24bfc55
I've noticed some issues when sometimes (haven't figured out when), the index ends up different from 0. Would it be possible to add a
prop
so that one can set a specific prefix? I can help with a PR if that can help.The text was updated successfully, but these errors were encountered: