@mint-ui/map 0.5.7-beta → 0.5.8-beta

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.
@@ -9,6 +9,7 @@ export interface CircleMarkerProps {
9
9
  zIndex?: number;
10
10
  svgProperties?: React.SVGProps<SVGSVGElement>;
11
11
  shapeProperties?: React.SVGProps<SVGCircleElement>;
12
+ debugLabel?: string;
12
13
  }
13
14
  /**
14
15
  * CircleMarker
@@ -17,4 +18,4 @@ export interface CircleMarkerProps {
17
18
  *
18
19
  * @returns {JSX.Element} JSX
19
20
  */
20
- export declare function CircleMarker({ children, center, radius, radiusUnit, background, svgProperties, shapeProperties, visible, zIndex, }: PropsWithChildren<CircleMarkerProps>): JSX.Element;
21
+ export declare function CircleMarker({ children, center, radius, radiusUnit, background, svgProperties, shapeProperties, visible, zIndex, debugLabel, }: PropsWithChildren<CircleMarkerProps>): JSX.Element;
@@ -41,7 +41,8 @@ function CircleMarker(_a) {
41
41
  shapeProperties = _e === void 0 ? {} : _e,
42
42
  _f = _a.visible,
43
43
  visible = _f === void 0 ? true : _f,
44
- zIndex = _a.zIndex; //controller
44
+ zIndex = _a.zIndex,
45
+ debugLabel = _a.debugLabel; //controller
45
46
 
46
47
  var controller = MintMapProvider.useMintMapController(); //zoom start event
47
48
 
@@ -125,7 +126,8 @@ function CircleMarker(_a) {
125
126
  anchor: anchor,
126
127
  visible: visible,
127
128
  disablePointerEvent: true,
128
- zIndex: zIndex
129
+ zIndex: zIndex,
130
+ debugLabel: debugLabel
129
131
  }, mapVisible && React__default["default"].createElement(SVGCircle.SVGCircle, {
130
132
  radius: computedRadius,
131
133
  background: background,
@@ -15,6 +15,7 @@ export interface PolygonMarkerProps {
15
15
  mode?: 'POLYGON' | 'POLYLINE';
16
16
  svgProperties?: React.SVGProps<SVGSVGElement>;
17
17
  shapeProperties?: React.SVGProps<SVGPathElement>;
18
+ debugLabel?: string;
18
19
  }
19
20
  /**
20
21
  *PolygonMarker
@@ -23,4 +24,4 @@ export interface PolygonMarkerProps {
23
24
  *
24
25
  * @returns {JSX.Element} JSX
25
26
  */
26
- export declare function PolygonMarker({ children, position, background, innerPositions, simplifyPath, simplifyTolerance, lastReapeated, svgProperties, shapeProperties, visible, zIndex, mode, }: PropsWithChildren<PolygonMarkerProps>): JSX.Element;
27
+ export declare function PolygonMarker({ children, position, background, innerPositions, simplifyPath, simplifyTolerance, lastReapeated, svgProperties, shapeProperties, visible, zIndex, mode, debugLabel, }: PropsWithChildren<PolygonMarkerProps>): JSX.Element;
@@ -47,7 +47,8 @@ function PolygonMarker(_a) {
47
47
  visible = _g === void 0 ? true : _g,
48
48
  zIndex = _a.zIndex,
49
49
  _h = _a.mode,
50
- mode = _h === void 0 ? 'POLYGON' : _h; //controller
50
+ mode = _h === void 0 ? 'POLYGON' : _h,
51
+ debugLabel = _a.debugLabel; //controller
51
52
 
52
53
  var controller = MintMapProvider.useMintMapController(); //zoom start event
53
54
 
@@ -165,7 +166,8 @@ function PolygonMarker(_a) {
165
166
  position: polygonStart,
166
167
  visible: visible,
167
168
  disablePointerEvent: true,
168
- zIndex: zIndex
169
+ zIndex: zIndex,
170
+ debugLabel: debugLabel
169
171
  }, mapVisible && React__default["default"].createElement(SVGPolygon.SVGPolygon, {
170
172
  path: offsets,
171
173
  innerPath: innerOffsets,
package/dist/index.es.js CHANGED
@@ -4338,7 +4338,8 @@ function CircleMarker(_a) {
4338
4338
  shapeProperties = _e === void 0 ? {} : _e,
4339
4339
  _f = _a.visible,
4340
4340
  visible = _f === void 0 ? true : _f,
4341
- zIndex = _a.zIndex; //controller
4341
+ zIndex = _a.zIndex,
4342
+ debugLabel = _a.debugLabel; //controller
4342
4343
 
4343
4344
  var controller = useMintMapController(); //zoom start event
4344
4345
 
@@ -4422,7 +4423,8 @@ function CircleMarker(_a) {
4422
4423
  anchor: anchor,
4423
4424
  visible: visible,
4424
4425
  disablePointerEvent: true,
4425
- zIndex: zIndex
4426
+ zIndex: zIndex,
4427
+ debugLabel: debugLabel
4426
4428
  }, mapVisible && React.createElement(SVGCircle, {
4427
4429
  radius: computedRadius,
4428
4430
  background: background,
@@ -4460,7 +4462,8 @@ function PolygonMarker(_a) {
4460
4462
  visible = _g === void 0 ? true : _g,
4461
4463
  zIndex = _a.zIndex,
4462
4464
  _h = _a.mode,
4463
- mode = _h === void 0 ? 'POLYGON' : _h; //controller
4465
+ mode = _h === void 0 ? 'POLYGON' : _h,
4466
+ debugLabel = _a.debugLabel; //controller
4464
4467
 
4465
4468
  var controller = useMintMapController(); //zoom start event
4466
4469
 
@@ -4578,7 +4581,8 @@ function PolygonMarker(_a) {
4578
4581
  position: polygonStart,
4579
4582
  visible: visible,
4580
4583
  disablePointerEvent: true,
4581
- zIndex: zIndex
4584
+ zIndex: zIndex,
4585
+ debugLabel: debugLabel
4582
4586
  }, mapVisible && React.createElement(SVGPolygon, {
4583
4587
  path: offsets,
4584
4588
  innerPath: innerOffsets,
package/dist/index.umd.js CHANGED
@@ -4342,7 +4342,8 @@
4342
4342
  shapeProperties = _e === void 0 ? {} : _e,
4343
4343
  _f = _a.visible,
4344
4344
  visible = _f === void 0 ? true : _f,
4345
- zIndex = _a.zIndex; //controller
4345
+ zIndex = _a.zIndex,
4346
+ debugLabel = _a.debugLabel; //controller
4346
4347
 
4347
4348
  var controller = useMintMapController(); //zoom start event
4348
4349
 
@@ -4426,7 +4427,8 @@
4426
4427
  anchor: anchor,
4427
4428
  visible: visible,
4428
4429
  disablePointerEvent: true,
4429
- zIndex: zIndex
4430
+ zIndex: zIndex,
4431
+ debugLabel: debugLabel
4430
4432
  }, mapVisible && React__default["default"].createElement(SVGCircle, {
4431
4433
  radius: computedRadius,
4432
4434
  background: background,
@@ -4464,7 +4466,8 @@
4464
4466
  visible = _g === void 0 ? true : _g,
4465
4467
  zIndex = _a.zIndex,
4466
4468
  _h = _a.mode,
4467
- mode = _h === void 0 ? 'POLYGON' : _h; //controller
4469
+ mode = _h === void 0 ? 'POLYGON' : _h,
4470
+ debugLabel = _a.debugLabel; //controller
4468
4471
 
4469
4472
  var controller = useMintMapController(); //zoom start event
4470
4473
 
@@ -4582,7 +4585,8 @@
4582
4585
  position: polygonStart,
4583
4586
  visible: visible,
4584
4587
  disablePointerEvent: true,
4585
- zIndex: zIndex
4588
+ zIndex: zIndex,
4589
+ debugLabel: debugLabel
4586
4590
  }, mapVisible && React__default["default"].createElement(SVGPolygon, {
4587
4591
  path: offsets,
4588
4592
  innerPath: innerOffsets,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mint-ui/map",
3
- "version": "0.5.7-beta",
3
+ "version": "0.5.8-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "browser": "./dist/index.umd.js",