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/{geo-editor-CYjgQaA9.js → geo-editor-Brzafmnh.js} +2 -1
- package/dist/{geo-editor-CYjgQaA9.js.map → geo-editor-Brzafmnh.js.map} +1 -1
- package/dist/{geo-editor-BuiaF8-T.cjs → geo-editor-CLcapXe7.cjs} +2 -1
- package/dist/{geo-editor-BuiaF8-T.cjs.map → geo-editor-CLcapXe7.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.mjs +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/react.d.ts +4 -4
- package/package.json +1 -1
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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:
|
|
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
|
|
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;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -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:
|
|
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:
|
|
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
|
|
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
|
|
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;
|