Skip to content

worldwind-ui API / worldwind-kit / onPick

Function: onPick() ​

onPick(worldWind, wwd, type, handler): Unsubscribe

Defined in: kit/src/picking.ts:145

Subscribes to picks. click and dblclick use WorldWind's gesture recognizers, so drags are ignored and touch taps count; hover follows the mouse, throttled to one pick per frame. *

Parameters ​

worldWind ​

WorldWindStatic

wwd ​

WWWorldWindow

type ​

PickEventType

handler ​

PickHandler

Returns ​

Unsubscribe

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