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