Skip to content

gi-nx


gi-nx / enableMapHover

ts
function enableMapHover(debounceTime?: number): void;

if called, mouse coordinates will be dispatched to the SDK app and can be accessed via the state key mapHoverCoords.

Parameters ​

ParameterTypeDescription
debounceTimenumberthe time in ms to debounce the incoming messages to the SDK app.

Returns ​

void