worldwind-ui API / worldwind-kit / trackScreenPosition
Function: trackScreenPosition() ​
trackScreenPosition(
worldWind,wwd,position,listener):Unsubscribe
Defined in: kit/src/screen.ts:54
Calls listener after every frame in which the screen position of position changed, and once after the next frame. Used by popups and tooltips to follow the globe.
Parameters ​
worldWind ​
wwd ​
position ​
listener ​
(point) => void