update package

This commit is contained in:
ethan 2024-03-06 16:39:22 +08:00
parent 6fece0e954
commit 27c92d6891
2 changed files with 14 additions and 8 deletions

View File

@ -2,7 +2,7 @@
cesium 标绘插件 cesium 标绘插件
![image](https://github.com/ethan-zf/CesiumPlot/assets/19545189/75b93c62-dd10-4c92-825c-c4ab01b454a7) ![image](https://ethan-zf.github.io/CesiumPlot/examples/plot.png)
[在线示例demo](https://ethan-zf.github.io/CesiumPlot/examples/index.html) [在线示例demo](https://ethan-zf.github.io/CesiumPlot/examples/index.html)
@ -45,18 +45,15 @@ cesium 标绘插件
outlineWidth?: number; outlineWidth?: number;
outlineMaterial?: Cesium.MaterialProperty; outlineMaterial?: Cesium.MaterialProperty;
}; };
``` ```
<h4 id='LineStyle'>LineStyle</h4> <h4 id='LineStyle'>LineStyle</h4>
``` ```
{ {
material?: Cesium.Color; material?: Cesium.Color;
lineWidth?: number; lineWidth?: number;
}; };
``` ```
示例 示例
@ -118,7 +115,6 @@ geometry.on('drawEnd', (data)=>{
geometry.on('drawEnd', (data) => { geometry.on('drawEnd', (data) => {
console.log(data); console.log(data);
}); });
``` ```
- 'editStart' - 'editStart'

View File

@ -1,8 +1,18 @@
{ {
"name": "cesium-plot", "name": "cesium-plot-js",
"private": true,
"version": "0.0.1", "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": { "scripts": {
"dev": "vite --mode dev", "dev": "vite --mode dev",
"build": "vite build --mode prod", "build": "vite build --mode prod",