Skip to content

worldwind-ui API / react-worldwind / useGlobeEvent

Function: useGlobeEvent() ​

useGlobeEvent(type, handler): void

Defined in: react/src/hooks.ts:131

Subscribes to globe-wide click, double-click or hover picks.

Parameters ​

type ​

PickEventType

handler ​

PickHandler | undefined

Returns ​

void

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.