vue-mapbox-gl icon indicating copy to clipboard operation
vue-mapbox-gl copied to clipboard

feat(MapboxCluster): add props to customize ids

Open tmlmt opened this issue 2 years ago • 3 comments

Linked issue

Closes #104

Description

  • Add two new props to MapboxCluster in order to override the default naming of id:
    • idPrefix to override the default mb-cluster-${index} incremental prefix
    • divId to override the default mb-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 with mb-cluster-1 and mb-cluster-2

tmlmt avatar Apr 23 '23 21:04 tmlmt

Deploy request for vue-mapbox-gl rejected.

Name Link
Latest commit e8ca7eac6aff37fde9b32fb822ffa890906e3e2d

netlify[bot] avatar Apr 23 '23 21:04 netlify[bot]

Hey @titouanmathis, could you have a look at this and consider adding it to the next release? Thanks !

tmlmt avatar Sep 29 '23 20:09 tmlmt

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

netlify[bot] avatar Oct 06 '23 16:10 netlify[bot]