@mint-ui/map 0.7.0-beta → 0.7.1-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.
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib = require('tslib');
|
|
6
5
|
var React = require('react');
|
|
7
6
|
var MintMapProvider = require('../../provider/MintMapProvider.js');
|
|
8
7
|
var MapMarkerWrapper = require('../../wrapper/MapMarkerWrapper.js');
|
|
@@ -12,6 +11,7 @@ var MapTypes = require('../../../types/MapTypes.js');
|
|
|
12
11
|
require('../../../types/MapEventTypes.js');
|
|
13
12
|
require('../../util/animation.js');
|
|
14
13
|
require('../../util/geo.js');
|
|
14
|
+
require('tslib');
|
|
15
15
|
var polygon = require('../../util/polygon.js');
|
|
16
16
|
require('../../util/status.js');
|
|
17
17
|
var NaverMintMapController = require('../../../naver/NaverMintMapController.js');
|
|
@@ -184,15 +184,13 @@ function PolygonMarker(_a) {
|
|
|
184
184
|
zIndex: zIndex,
|
|
185
185
|
debug: debug,
|
|
186
186
|
debugLabel: debugLabel
|
|
187
|
-
}, React__default["default"].createElement(SVGPolygon.SVGPolygon, {
|
|
187
|
+
}, mapVisible && React__default["default"].createElement(SVGPolygon.SVGPolygon, {
|
|
188
188
|
path: offsets,
|
|
189
189
|
innerPath: innerOffsets,
|
|
190
190
|
mode: mode,
|
|
191
191
|
background: background,
|
|
192
192
|
shapeProperties: shapeProperties,
|
|
193
|
-
svgProperties:
|
|
194
|
-
display: mapVisible ? '' : 'none'
|
|
195
|
-
}, svgProperties)
|
|
193
|
+
svgProperties: svgProperties
|
|
196
194
|
}, children)));
|
|
197
195
|
}
|
|
198
196
|
|
package/dist/index.es.js
CHANGED
|
@@ -4708,15 +4708,13 @@ function PolygonMarker(_a) {
|
|
|
4708
4708
|
zIndex: zIndex,
|
|
4709
4709
|
debug: debug,
|
|
4710
4710
|
debugLabel: debugLabel
|
|
4711
|
-
}, React.createElement(SVGPolygon, {
|
|
4711
|
+
}, mapVisible && React.createElement(SVGPolygon, {
|
|
4712
4712
|
path: offsets,
|
|
4713
4713
|
innerPath: innerOffsets,
|
|
4714
4714
|
mode: mode,
|
|
4715
4715
|
background: background,
|
|
4716
4716
|
shapeProperties: shapeProperties,
|
|
4717
|
-
svgProperties:
|
|
4718
|
-
display: mapVisible ? '' : 'none'
|
|
4719
|
-
}, svgProperties)
|
|
4717
|
+
svgProperties: svgProperties
|
|
4720
4718
|
}, children)));
|
|
4721
4719
|
}
|
|
4722
4720
|
|
package/dist/index.umd.js
CHANGED
|
@@ -4712,15 +4712,13 @@
|
|
|
4712
4712
|
zIndex: zIndex,
|
|
4713
4713
|
debug: debug,
|
|
4714
4714
|
debugLabel: debugLabel
|
|
4715
|
-
}, React__default["default"].createElement(SVGPolygon, {
|
|
4715
|
+
}, mapVisible && React__default["default"].createElement(SVGPolygon, {
|
|
4716
4716
|
path: offsets,
|
|
4717
4717
|
innerPath: innerOffsets,
|
|
4718
4718
|
mode: mode,
|
|
4719
4719
|
background: background,
|
|
4720
4720
|
shapeProperties: shapeProperties,
|
|
4721
|
-
svgProperties:
|
|
4722
|
-
display: mapVisible ? '' : 'none'
|
|
4723
|
-
}, svgProperties)
|
|
4721
|
+
svgProperties: svgProperties
|
|
4724
4722
|
}, children)));
|
|
4725
4723
|
}
|
|
4726
4724
|
|