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

 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[在线示例: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'
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										16
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								package.json
									
									
									
									
									
								
							@ -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",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user