npm.io
0.1.0 • Published 1 week ago

@cesium/core

Licence
Apache-2.0
Version
0.1.0
Deps
0
Size
2.8 MB
Vulns
0
Weekly
0
Stars
15.8K

@cesium/core

Build Status npm Docs

Cesium

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

@cesium/core contains CesiumJS's math, geometry, and time primitives, along with utility and error types, with no dependency on rendering, data-source, or widget code.


Examples Docs Website Forum User Stories


Install

@cesium/core is published as ES modules with full typing support.

Install with npm:

npm install @cesium/core --save

Or, install with yarn:

yarn add @cesium/core

Usage

Import individual modules to benefit from tree shaking optimizations through most build tools:

import { Cartesian3 } from "@cesium/core";

const position = new Cartesian3(1.0, 2.0, 3.0);

See our Quickstart Guide for more information on getting a CesiumJS app up and running.

Community

Have questions? Ask them on the community forum.

Interested in contributing? See CONTRIBUTING.md.

License

Apache 2.0. CesiumJS is free for both commercial and non-commercial use.

Keywords