POLAR reference
    Preparing search index...

    Interface MarkerLayerConfiguration

    interface MarkerLayerConfiguration {
        id: string;
        defaultStyle?: Partial<MarkerStyle>;
        hoverStyle?: Partial<MarkerStyle>;
        isSelectable?: MarkersIsSelectableFunction;
        selectionStyle?: Partial<MarkerStyle>;
        unselectableStyle?: Partial<MarkerStyle>;
    }
    Index

    Properties

    id: string

    Unique identifier of a layer configured in mapConfiguration.layers.

    defaultStyle?: Partial<MarkerStyle>

    Used as the default marker style. The default fill color for these markers is '#005CA9'.

    hoverStyle?: Partial<MarkerStyle>

    Used as map marker style for hovered features. The default fill color for these markers is '#7B1045'.

    If undefined, all features are selectable. If defined, this can be used to sort out features to be unselectable, and such features will be styled differently and won't react on click.

    isSelectable: (feature: Feature) => feature.get('indicator')
    
    selectionStyle?: Partial<MarkerStyle>

    Used as map marker style for selected features. The default fill color for these markers is '#679100'.

    unselectableStyle?: Partial<MarkerStyle>

    Used as a map marker style for unselectable features. Features are unselectable if a given isSelectable method returns falsy for a feature. The default fill color for these markers is '#333333'.