Skip to content

worldwind-ui API / worldwind-kit / subscribePick

Function: subscribePick() ​

subscribePick(worldWind, wwd, type, handler): PickSubscription

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

Low-level subscription. Prefer PickDispatcher (used by GlobeController.on): WorldWind lets only one recognizer claim a gesture, so a second independent click recognizer on the same window never fires unless the two are told to recognize simultaneously. *

Parameters ​

worldWind ​

WorldWindStatic

wwd ​

WWWorldWindow

type ​

PickEventType

handler ​

PickHandler

Returns ​

PickSubscription

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