ngx-mapbox-gl
ngx-mapbox-gl copied to clipboard
how to re render mgl-markers-for-cluster
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>`