Type Alias TMarkerUpdateState

TMarkerUpdateState: {
    contentHTML?: string;
    dynamicResize?: boolean;
    enabled?: boolean;
    interactive?: boolean | "pointer-events-auto";
    lowPriorityPin?: { color?: string; enabled?: boolean; size?: number };
    occlude?: boolean;
    placement?:
        | "top-left"
        | "top-right"
        | "bottom-left"
        | "bottom-right"
        | "hidden"
        | "right"
        | "left"
        | "top"
        | "center"
        | "bottom"
        | (
            | "top-left"
            | "top-right"
            | "bottom-left"
            | "bottom-right"
            | "hidden"
            | "right"
            | "left"
            | "top"
            | "center"
            | "bottom"
        )[];
    rank?: TCollisionRankingTier
    | "initial";
    type?: "marker";
    zIndex?: number;
}

Type declaration

  • OptionalcontentHTML?: string

    HTML content of the marker as text

  • OptionaldynamicResize?: boolean

    When true, the marker's collision boundary automatically adjusts when the marker's content or size changes.

    true
    
  • Optionalenabled?: boolean

    Whether the marker is enabled.

    true
    
  • Optionalinteractive?: boolean | "pointer-events-auto"

    Whether the Marker should be clickable.

    false
    
  • OptionallowPriorityPin?: { color?: string; enabled?: boolean; size?: number }

    Configuration for the low priority pin fallback strategy.

    • Optionalcolor?: string

      Color of the low priority pin.

    • Optionalenabled?: boolean

      Whether to enable low priority pin strategy when all anchor positions have collisions.

    • Optionalsize?: number

      Size of the low priority pin in pixels.

  • Optionalocclude?: boolean

    Whether the marker should be occluded by 3D geometry.

    true
    
  • Optionalplacement?:
        | "top-left"
        | "top-right"
        | "bottom-left"
        | "bottom-right"
        | "hidden"
        | "right"
        | "left"
        | "top"
        | "center"
        | "bottom"
        | (
            | "top-left"
            | "top-right"
            | "bottom-left"
            | "bottom-right"
            | "hidden"
            | "right"
            | "left"
            | "top"
            | "center"
            | "bottom"
        )[]

    Specifies the placement of the marker, determining its position relative to its coordinates. Can be a single placement or an array of placements.

  • Optionalrank?: TCollisionRankingTier | "initial"

    Determines the collision ranking tier of the marker, which influences its visibility in relation to other colliders.

    'medium'
    
  • Optionaltype?: "marker"
  • OptionalzIndex?: number

    The z-index of the marker.