Skip to content

worldwind-uiUI libraries for NASA WorldWind

One typed core, thin adapters for React and Angular, ready-made widgets, and a fake WorldWind for tests.

The React demo, a 3D globe with widgets
worldwind-kit on npmreact-worldwind on npmngx-worldwind on npmCI statusMIT license

Install ​

sh
npm install react-worldwind @nasaworldwind/worldwind
sh
npm install ngx-worldwind @nasaworldwind/worldwind
sh
npm install worldwind-kit @nasaworldwind/worldwind

Then follow Getting started; a globe is about ten lines.

See it live ​

The published packages, running here. Drag to rotate, scroll to zoom, click a pin, try the measuring tool.

Why this exists ​

WorldWind's own API is imperative, untyped and has no teardown. These packages add a documented TypeScript surface, declarative layers and shapes that update in place, a real destroy(), one shared gesture recognizer per globe, a Vite plugin for the bundling bug WorldWind trips over, and a fake WorldWind so components can be tested in jsdom. The Concepts page explains the design in a few minutes.

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