Skip to content

worldwind-ui API / worldwind-kit / toScreen

Function: toScreen() ​

toScreen(worldWind, wwd, position): ScreenPoint | null

Defined in: kit/src/screen.ts:23

Projects a geographic position to canvas coordinates using the last rendered frame. Returns null before the first frame or when the point cannot be projected.

Parameters ​

worldWind ​

WorldWindStatic

wwd ​

WWWorldWindow

position ​

LatLonAlt

Returns ​

ScreenPoint | null

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