gs-maplibre-draw 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +1 -11
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,19 +1,9 @@
1
1
  // 导出函数的声明
2
2
  declare module '@turf/turf'
3
3
 
4
- export default function (map: any): {
5
- isStart: Boolean
6
- start: (color: string, MGValue: number) => void
7
- setColor: (color: string, MGValue: number) => void
8
- getFeatures: () => void
9
- clear: () => void
10
- revoke: () => void
11
- redo: () => void
12
- }
13
4
  export function draw(map: any): {
14
5
  isStart: Boolean
15
- start: (color: string, MGValue: number) => void
16
- setColor: (color: string, MGValue: number) => void
6
+ start: (op: any) => void
17
7
  getFeatures: () => void
18
8
  clear: () => void
19
9
  revoke: () => void
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gs-maplibre-draw",
3
3
  "private": false,
4
- "version": "0.0.1",
4
+ "version": "0.0.3",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",