Options accepted by the HighlightAction. The highlight action will create a new highlight for every item. The items should have a geometry.

interface HighlightActionOptions {
    "highlight-remove-timeout"?: number;
    items: readonly ActionItem[];
    readonly [key: string]: unknown;
}

Hierarchy (View Summary)

Indexable

  • readonly [key: string]: unknown

    Custom symbol for highlighting (optional). Use e.g. highlight-symbol-point to define a symbol for a point.

Properties

"highlight-remove-timeout"?: number

The time in milliseconds until the drawn graphic will be removed from the map again (optional).

items: readonly ActionItem[]

An array of objects with a geometry.