Home > @magiclane/maps-sdk > GemMap > labelHoverProbingEnabled

GemMap.labelHoverProbingEnabled property

Enable/disable the built-in label hover probing (default: enabled).

When enabled, every pointer move performs a native hover probe (highlightHoveredMapLabel) so the hovered-map-label callbacks fire. Applications that do not use those callbacks can disable it to remove the per-mousemove native round trip entirely. Disabling while a label is hovered ends the hover (callbacks receive null).

Signature:

get labelHoverProbingEnabled(): boolean;

set labelHoverProbingEnabled(value: boolean);