diff --git a/README.md b/README.md
index 351df1e..a13d1be 100644
--- a/README.md
+++ b/README.md
@@ -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;
};
-
```
LineStyle
```
-
{
material?: Cesium.Color;
lineWidth?: number;
};
-
```
示例
@@ -118,7 +115,6 @@ geometry.on('drawEnd', (data)=>{
geometry.on('drawEnd', (data) => {
console.log(data);
});
-
```
- 'editStart'
diff --git a/package.json b/package.json
index eb9bcd0..edbc917 100644
--- a/package.json
+++ b/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",