Marker source id getter.
{IMarkerOptions | IMarkerOptionsWithFeatureId[]} Coordinate and properties arrays of marker[s]. If you need to use updateData(), the parameter must be IMarkerOptionsWithFeatureId[].
Draw marker[s] on map.
Add marker event listener.
Add marker event listener.
Use 'on' method instead.
A expression specifying conditions on source features. Only features that match the filter are displayed. Refer: https://maplibre.org/maplibre-style-spec/expressions/
Filter marker by custom properties.
{string | null | undefined}
{string | null | undefined}
Filter marker by buildingId and ordinal. Required 'buildingId' and 'ordinal' in properties. Markers not matched 'buildingId' and 'ordinal' would be hidden; Outdoor markers always are shown.
{string | null | undefined}
{string | null | undefined}
Filter marker by venueId and ordinal. Required 'venueId' and 'ordinal' in properties. Markers not matched 'venueId' and 'ordinal' would be hidden; Outdoor markers always are shown.
Set marker image anchor. Part of the icon placed closest to the anchor.
A expression specifying conditions on source features. Only features that match the filter are displayed. Refer: https://maplibre.org/maplibre-style-spec/expressions/
Set marker's icon-opacity by custom properties.
{string | null | undefined}
{string | null | undefined}
Set marker's icon-opacity by buildingId and ordinal. Required 'buildingId' and 'ordinal' in properties. Opacities of markers matched 'buildingId' and 'ordinal' are 1, others are 0.5. Outdoor markers' opacity always are 1.
{string | null | undefined}
{string | null | undefined}
Set marker's icon-opacity by venueId and ordinal. Required 'venueId' and 'ordinal' in properties. Opacities of markers matched 'venueId' and 'ordinal' are 1, others are 0.5. Outdoor markers' opacity always are 1.
{remove: number[], add: IMarkerOptionsWithFeatureId[], update: IMarkerOptionsWithFeatureId[]} remove: Array of feature IDs to remove. add: Array of new features to add. update: Array of features to update, the new properties will replace the old ones.
Optional
add?: IMarkerOptionsWithFeatureId[]Optional
remove?: number[]Optional
update?: IMarkerOptionsWithFeatureId[]Add, delete or update features of this marker layer. This approach requires unique IDs for every feature in the source!!! Including create() parameters.
Description
Marker layer id getter.