Skip to content

worldwind-ui API / worldwind-kit / downloadScreenshot

Function: downloadScreenshot() ​

downloadScreenshot(globe, options?): Promise<Blob>

Defined in: kit/src/screenshot.ts:71

Captures the globe and offers it as a file download.

Parameters ​

globe ​

GlobeController

options? ​

DownloadScreenshotOptions = {}

Returns ​

Promise<Blob>

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