@maplibre/ngx-maplibre-gl
    Preparing search index...

    Class MarkersForClustersComponent

    [ngx] mgl-markers-for-clusters - an HTML marker component for clustered points. Requires a geojson source that is clustered.

    ...
    <mgl-map ...>
    <mgl-markers-for-clusters
    [source]="myGeoJsonclusteredSource"
    [markerOptions]="{ anchor: 'bottom' }"
    [clusterMarkerOptions]="{ anchor: 'center' }"
    >
    <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-clusters>
    </mgl-map>

    markerOptions are applied to every marker this component renders. clusterMarkerOptions are merged on top of markerOptions and applied to cluster markers only, so they only need to contain the differences from markerOptions.

    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.

    Index
    clusterMarkerOptions: InputSignal<MglMarkerOptions> = ...

    Marker 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.

    markerOptions: InputSignal<MglMarkerOptions> = ...

    Marker options applied to every marker rendered by this component, both single points and clusters. See MglMarkerOptions.

    source: InputSignal<string> = ...

    Init input