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

how to re render mgl-markers-for-cluster

Open jagabs opened this issue 1 year ago • 0 comments

how do you reload this if it has errors rendering the first time? or like if users click it and before loading changes route.

`<mgl-markers-for-cluster [source]="myGeoJsonclusteredSource">
    <ng-template mglPoint let-feature> Marker! </ng-template>
    <ng-template mglClusterPoint let-feature>
      ClusterId: {{feature.properties?.cluster_id}}, Points:
      {{feature.properties?.point_count}}
    </ng-template>
  </mgl-markers-for-cluster>`

jagabs avatar Jan 28 '24 09:01 jagabs