maplibre-gl-geo-editor 0.3.0 → 0.3.2

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.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const geoEditor = require("./geo-editor-BuiaF8-T.cjs");
3
+ const geoEditor = require("./geo-editor-CLcapXe7.cjs");
4
4
  exports.ADVANCED_EDIT_MODES = geoEditor.ADVANCED_EDIT_MODES;
5
5
  exports.CSS_PREFIX = geoEditor.CSS_PREFIX;
6
6
  exports.CopyFeature = geoEditor.CopyFeature;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A, g, C, c, d, e, f, D, G, L, a, S, b, U, ac, T, E, F, X, a7, a8, Y, a2, t, B, y, z, x, Z, R, Q, a4, aa, J, u, W, H, I, V, v, P, a5, a1, q, ab, N, O, M, a6, K, p, r, w, a0, _, ad, $, k, l, h, o, n, j, i, m, s, a3, a9, ae } from "./geo-editor-CYjgQaA9.js";
1
+ import { A, g, C, c, d, e, f, D, G, L, a, S, b, U, ac, T, E, F, X, a7, a8, Y, a2, t, B, y, z, x, Z, R, Q, a4, aa, J, u, W, H, I, V, v, P, a5, a1, q, ab, N, O, M, a6, K, p, r, w, a0, _, ad, $, k, l, h, o, n, j, i, m, s, a3, a9, ae } from "./geo-editor-Brzafmnh.js";
2
2
  export {
3
3
  A as ADVANCED_EDIT_MODES,
4
4
  g as CSS_PREFIX,
package/dist/react.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const react = require("react");
4
- const geoEditor = require("./geo-editor-BuiaF8-T.cjs");
4
+ const geoEditor = require("./geo-editor-CLcapXe7.cjs");
5
5
  function GeoEditorReact({
6
6
  map,
7
7
  geoman,
package/dist/react.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useRef, useEffect, useCallback } from "react";
2
- import { G as GeoEditor } from "./geo-editor-CYjgQaA9.js";
3
- import { A, g, C, c, d, e, f, D, L, a, S, b, U, ac, T, E, F, X, a7, a8, Y, a2, t, B, y, z, x, Z, R, Q, a4, aa, J, u, W, H, I, V, v, P, a5, a1, q, ab, N, O, M, a6, K, p, r, w, a0, _, ad, $, k, l, h, o, n, j, i, m, s, a3, a9, ae } from "./geo-editor-CYjgQaA9.js";
2
+ import { G as GeoEditor } from "./geo-editor-Brzafmnh.js";
3
+ import { A, g, C, c, d, e, f, D, L, a, S, b, U, ac, T, E, F, X, a7, a8, Y, a2, t, B, y, z, x, Z, R, Q, a4, aa, J, u, W, H, I, V, v, P, a5, a1, q, ab, N, O, M, a6, K, p, r, w, a0, _, ad, $, k, l, h, o, n, j, i, m, s, a3, a9, ae } from "./geo-editor-Brzafmnh.js";
4
4
  function GeoEditorReact({
5
5
  map,
6
6
  geoman,
@@ -301,7 +301,7 @@ export declare class GeoEditor implements IControl {
301
301
  /**
302
302
  * Set the Geoman instance for integration
303
303
  */
304
- setGeoman(geoman: GeomanInstance): void;
304
+ setGeoman(geoman: any): void;
305
305
  /**
306
306
  * Hide the geoman control toolbar
307
307
  */
@@ -789,7 +789,7 @@ export declare interface GeomanInstance {
789
789
  enableDraw: (shape: DrawMode) => void;
790
790
  disableDraw: () => void;
791
791
  toggleDraw: (shape: DrawMode) => void;
792
- drawEnabled: (shape?: DrawMode) => boolean;
792
+ drawEnabled: (shape: DrawMode) => boolean;
793
793
  enableMode: (modeType: 'draw' | 'edit' | 'helper', mode: string) => void;
794
794
  disableMode: (modeType: 'draw' | 'edit' | 'helper', mode: string) => void;
795
795
  toggleMode: (modeType: 'draw' | 'edit' | 'helper', mode: string) => void;
@@ -311,7 +311,7 @@ export declare class GeoEditor implements IControl {
311
311
  /**
312
312
  * Set the Geoman instance for integration
313
313
  */
314
- setGeoman(geoman: GeomanInstance): void;
314
+ setGeoman(geoman: any): void;
315
315
  /**
316
316
  * Hide the geoman control toolbar
317
317
  */
@@ -688,7 +688,7 @@ declare class GeoEditor_2 implements IControl {
688
688
  /**
689
689
  * Set the Geoman instance for integration
690
690
  */
691
- setGeoman(geoman: GeomanInstance_2): void;
691
+ setGeoman(geoman: any): void;
692
692
  /**
693
693
  * Hide the geoman control toolbar
694
694
  */
@@ -1316,7 +1316,7 @@ export declare interface GeomanInstance {
1316
1316
  enableDraw: (shape: DrawMode) => void;
1317
1317
  disableDraw: () => void;
1318
1318
  toggleDraw: (shape: DrawMode) => void;
1319
- drawEnabled: (shape?: DrawMode) => boolean;
1319
+ drawEnabled: (shape: DrawMode) => boolean;
1320
1320
  enableMode: (modeType: 'draw' | 'edit' | 'helper', mode: string) => void;
1321
1321
  disableMode: (modeType: 'draw' | 'edit' | 'helper', mode: string) => void;
1322
1322
  toggleMode: (modeType: 'draw' | 'edit' | 'helper', mode: string) => void;
@@ -1352,7 +1352,7 @@ declare interface GeomanInstance_2 {
1352
1352
  enableDraw: (shape: DrawMode_2) => void;
1353
1353
  disableDraw: () => void;
1354
1354
  toggleDraw: (shape: DrawMode_2) => void;
1355
- drawEnabled: (shape?: DrawMode_2) => boolean;
1355
+ drawEnabled: (shape: DrawMode_2) => boolean;
1356
1356
  enableMode: (modeType: 'draw' | 'edit' | 'helper', mode: string) => void;
1357
1357
  disableMode: (modeType: 'draw' | 'edit' | 'helper', mode: string) => void;
1358
1358
  toggleMode: (modeType: 'draw' | 'edit' | 'helper', mode: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maplibre-gl-geo-editor",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Advanced geometry editing plugin for MapLibre GL with Geoman integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",