ReadonlyclusterMarker options merged on top of MarkersForClustersComponent.markerOptions and applied to cluster markers only. Only the differences from MarkersForClustersComponent.markerOptions need to be specified. See MglMarkerOptions.
ReadonlymarkerMarker options applied to every marker rendered by this component, both single points and clusters. See MglMarkerOptions.
ReadonlysourceInit input
[ngx]
mgl-markers-for-clusters- an HTML marker component for clustered points. Requires a geojson source that is clustered.Example
markerOptionsare applied to every marker this component renders.clusterMarkerOptionsare merged on top ofmarkerOptionsand applied to cluster markers only, so they only need to contain the differences frommarkerOptions.Note: Only use this if you really need to use HTML/Angular component to render your symbols. This is slower than rendering symbols in WebGL.