arbor-cesium-drawer
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

cesium 地图作业库

基于cesium开发的一个,图形绘制库。目前还在开发过程中。

install

npm install arbor-cesium-drawer

usage

javascript

import Drawer from "arbor-cesium-drawer"

const viewer = new Viewer("dom");
const drawer = new Drawer(viewer);

// interactive drawing point
drawer.startDraw({
	type: "point",
	point: new PointGraphics({
		color: Color.RED,
		// .....
	})
})
// just draw point
drawer.draw({
	type: "point",
	point: new PointGraphics({
		color: Color.RED,
		// .....
	}),
	position: new Cartesian3.fromDegrees(0,0,0);
})

document

coming soon

Package Sidebar

Install

npm i arbor-cesium-drawer

Weekly Downloads

1

Version

0.1.2

License

ISC

Unpacked Size

340 kB

Total Files

19

Last publish

Collaborators

  • thearbor