vue-mapbox-gl
vue-mapbox-gl copied to clipboard
feat(MapboxCluster): add props to customize ids
Linked issue
Closes #104
Description
- Add two new props to
MapboxClusterin order to override the default naming of id:idPrefixto override the defaultmb-cluster-${index}incremental prefixdivIdto override the defaultmb-cluster-${index}incremental encapsulating<div>id
- Updates doc accordingly. I chose to demo those new props in the middle example,
MapboxClusterWithPopupDemo, to demonstrate the fact that this cluster gets its customized ids while the one before and after are set withmb-cluster-1andmb-cluster-2
Deploy request for vue-mapbox-gl rejected.
| Name | Link |
|---|---|
| Latest commit | e8ca7eac6aff37fde9b32fb822ffa890906e3e2d |
Hey @titouanmathis, could you have a look at this and consider adding it to the next release? Thanks !
Deploy Preview for vue-mapbox-gl-demo canceled.
| Name | Link |
|---|---|
| Latest commit | ff6e212da2e08eab5df62e566f34f854ec1d2273 |
| Latest deploy log | https://app.netlify.com/sites/vue-mapbox-gl-demo/deploys/65202f9cdae09b000843242b |