mirror of
https://github.com/ethan-zf/cesium-plot-js.git
synced 2025-06-23 19:17:29 +00:00
update package
This commit is contained in:
parent
6fece0e954
commit
27c92d6891
@ -2,7 +2,7 @@
|
||||
|
||||
cesium 标绘插件
|
||||
|
||||

|
||||

|
||||
|
||||
[在线示例:demo](https://ethan-zf.github.io/CesiumPlot/examples/index.html)
|
||||
|
||||
@ -45,18 +45,15 @@ cesium 标绘插件
|
||||
outlineWidth?: number;
|
||||
outlineMaterial?: Cesium.MaterialProperty;
|
||||
};
|
||||
|
||||
```
|
||||
|
||||
<h4 id='LineStyle'>LineStyle</h4>
|
||||
|
||||
```
|
||||
|
||||
{
|
||||
material?: Cesium.Color;
|
||||
lineWidth?: number;
|
||||
};
|
||||
|
||||
```
|
||||
|
||||
示例
|
||||
@ -118,7 +115,6 @@ geometry.on('drawEnd', (data)=>{
|
||||
geometry.on('drawEnd', (data) => {
|
||||
console.log(data);
|
||||
});
|
||||
|
||||
```
|
||||
|
||||
- 'editStart'
|
||||
|
16
package.json
16
package.json
@ -1,8 +1,18 @@
|
||||
{
|
||||
"name": "cesium-plot",
|
||||
"private": true,
|
||||
"name": "cesium-plot-js",
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
"main": "dist/CesiumPlot.umd.js",
|
||||
"homepage": "https://github.com/ethan-zf/CesiumPlot",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:ethan-zf/CesiumPlot.git"
|
||||
},
|
||||
"keywords": [
|
||||
"cesium",
|
||||
"draw",
|
||||
"plot",
|
||||
"map"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "vite --mode dev",
|
||||
"build": "vite build --mode prod",
|
||||
|
Loading…
Reference in New Issue
Block a user