gs-maplibre-draw 0.0.49 → 0.0.50

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 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -15,7 +15,7 @@ type DrawOptions = {
15
15
  'circle-stroke-width'?: number // 点描边宽度,可选项
16
16
  }
17
17
 
18
- export function draw(map: any, callback: Function): {
18
+ export function draw(map: any, callback: Function,callback2: Function): {
19
19
  startDraw: (op: DrawOptions) => void
20
20
  revoke: () => void
21
21
  redo: () => 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.49",
4
+ "version": "0.0.50",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",