react-map4d-map 1.3.3 → 1.3.4

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.
@@ -23,7 +23,7 @@ var MFBuilding = function MFBuilding(props) {
23
23
  coordinates = props.coordinates,
24
24
  visible = props.visible,
25
25
  draggable = props.draggable,
26
- userInteractionEnabled = props.userInteractionEnabled,
26
+ clickable = props.clickable,
27
27
  selected = props.selected,
28
28
  growUp = props.growUp,
29
29
  map = props.map,
@@ -50,7 +50,7 @@ var MFBuilding = function MFBuilding(props) {
50
50
  coordinates: coordinates,
51
51
  visible: visible,
52
52
  draggable: draggable,
53
- userInteractionEnabled: userInteractionEnabled,
53
+ clickable: clickable,
54
54
  selected: selected,
55
55
  growUp: growUp
56
56
  };
@@ -144,8 +144,8 @@ var MFBuilding = function MFBuilding(props) {
144
144
  useEffect(function () {
145
145
  var _buildingRef$current16;
146
146
 
147
- userInteractionEnabled != undefined && ((_buildingRef$current16 = buildingRef.current) === null || _buildingRef$current16 === void 0 ? void 0 : _buildingRef$current16.setUserInteraction(userInteractionEnabled));
148
- }, [userInteractionEnabled]);
147
+ clickable != undefined && ((_buildingRef$current16 = buildingRef.current) === null || _buildingRef$current16 === void 0 ? void 0 : _buildingRef$current16.setClickable(clickable));
148
+ }, [clickable]);
149
149
  useEffect(function () {
150
150
  var _buildingRef$current17;
151
151
 
@@ -247,7 +247,7 @@ var MFCircle = function MFCircle(props) {
247
247
  draggable = props.draggable,
248
248
  zIndex = props.zIndex,
249
249
  elevation = props.elevation,
250
- userInteractionEnabled = props.userInteractionEnabled,
250
+ clickable = props.clickable,
251
251
  map = props.map,
252
252
  onCreated = props.onCreated;
253
253
  var map4dContext = useContext(Map4dContext);
@@ -271,7 +271,7 @@ var MFCircle = function MFCircle(props) {
271
271
  draggable: draggable,
272
272
  zIndex: zIndex,
273
273
  elevation: elevation,
274
- userInteractionEnabled: userInteractionEnabled
274
+ clickable: clickable
275
275
  };
276
276
  Object.keys(option).forEach(function (key) {
277
277
  if (option[key] == undefined || option[key] == null) {
@@ -374,12 +374,12 @@ var MFCircle = function MFCircle(props) {
374
374
  }
375
375
  }, [elevation]);
376
376
  useEffect(function () {
377
- if (VariableTool.hasValue(userInteractionEnabled)) {
377
+ if (VariableTool.hasValue(clickable)) {
378
378
  var _circleRef$current15;
379
379
 
380
- (_circleRef$current15 = circleRef.current) === null || _circleRef$current15 === void 0 ? void 0 : _circleRef$current15.setUserInteraction(userInteractionEnabled);
380
+ (_circleRef$current15 = circleRef.current) === null || _circleRef$current15 === void 0 ? void 0 : _circleRef$current15.setClickable(clickable);
381
381
  }
382
- }, [userInteractionEnabled]);
382
+ }, [clickable]);
383
383
  return null;
384
384
  };
385
385
 
@@ -1071,7 +1071,7 @@ var MFMarker = function MFMarker(props) {
1071
1071
  label = props.label,
1072
1072
  draggable = props.draggable,
1073
1073
  iconView = props.iconView,
1074
- userInteractionEnabled = props.userInteractionEnabled,
1074
+ clickable = props.clickable,
1075
1075
  map = props.map,
1076
1076
  onCreated = props.onCreated,
1077
1077
  onClick = props.onClick,
@@ -1104,7 +1104,7 @@ var MFMarker = function MFMarker(props) {
1104
1104
  label: label,
1105
1105
  draggable: draggable,
1106
1106
  iconView: iconView,
1107
- userInteractionEnabled: userInteractionEnabled
1107
+ clickable: clickable
1108
1108
  };
1109
1109
  Object.keys(option).forEach(function (key) {
1110
1110
  if (option[key] == undefined || option[key] == null) {
@@ -1284,8 +1284,8 @@ var MFMarker = function MFMarker(props) {
1284
1284
  useEffect(function () {
1285
1285
  var _markerRef$current20;
1286
1286
 
1287
- userInteractionEnabled != undefined && ((_markerRef$current20 = markerRef.current) === null || _markerRef$current20 === void 0 ? void 0 : _markerRef$current20.setUserInteraction(userInteractionEnabled));
1288
- }, [userInteractionEnabled]);
1287
+ clickable != undefined && ((_markerRef$current20 = markerRef.current) === null || _markerRef$current20 === void 0 ? void 0 : _markerRef$current20.setClickable(clickable));
1288
+ }, [clickable]);
1289
1289
  useEffect(function () {
1290
1290
  var _markerRef$current21;
1291
1291
 
@@ -1415,7 +1415,7 @@ var MFPOI = function MFPOI(props) {
1415
1415
  zIndex = props.zIndex,
1416
1416
  visible = props.visible,
1417
1417
  draggable = props.draggable,
1418
- userInteractionEnabled = props.userInteractionEnabled,
1418
+ clickable = props.clickable,
1419
1419
  map = props.map,
1420
1420
  onCreated = props.onCreated,
1421
1421
  onClick = props.onClick,
@@ -1441,7 +1441,7 @@ var MFPOI = function MFPOI(props) {
1441
1441
  zIndex: zIndex,
1442
1442
  visible: visible,
1443
1443
  draggable: draggable,
1444
- userInteractionEnabled: userInteractionEnabled
1444
+ clickable: clickable
1445
1445
  };
1446
1446
  Object.keys(option).forEach(function (key) {
1447
1447
  if (option[key] == undefined || option[key] == null) {
@@ -1528,8 +1528,8 @@ var MFPOI = function MFPOI(props) {
1528
1528
  useEffect(function () {
1529
1529
  var _poiRef$current15;
1530
1530
 
1531
- userInteractionEnabled != undefined && ((_poiRef$current15 = poiRef.current) === null || _poiRef$current15 === void 0 ? void 0 : _poiRef$current15.setUserInteraction(userInteractionEnabled));
1532
- }, [userInteractionEnabled]);
1531
+ clickable != undefined && ((_poiRef$current15 = poiRef.current) === null || _poiRef$current15 === void 0 ? void 0 : _poiRef$current15.setClickable(clickable));
1532
+ }, [clickable]);
1533
1533
  useEffect(function () {
1534
1534
  if (poiRef.current) {
1535
1535
  poiRef.current.onClick = onClick;
@@ -1622,7 +1622,7 @@ var MFPolygon = function MFPolygon(props) {
1622
1622
  draggable = props.draggable,
1623
1623
  elevation = props.elevation,
1624
1624
  zIndex = props.zIndex,
1625
- userInteractionEnabled = props.userInteractionEnabled,
1625
+ clickable = props.clickable,
1626
1626
  map = props.map,
1627
1627
  onHover = props.onHover,
1628
1628
  onCreated = props.onCreated;
@@ -1644,7 +1644,7 @@ var MFPolygon = function MFPolygon(props) {
1644
1644
  draggable: draggable,
1645
1645
  elevation: elevation,
1646
1646
  zIndex: zIndex,
1647
- userInteractionEnabled: userInteractionEnabled
1647
+ clickable: clickable
1648
1648
  };
1649
1649
  Object.keys(option).forEach(function (key) {
1650
1650
  if (option[key] == undefined || option[key] == null) {
@@ -1739,8 +1739,8 @@ var MFPolygon = function MFPolygon(props) {
1739
1739
  useEffect(function () {
1740
1740
  var _polygonRef$current15;
1741
1741
 
1742
- userInteractionEnabled != undefined && ((_polygonRef$current15 = polygonRef.current) === null || _polygonRef$current15 === void 0 ? void 0 : _polygonRef$current15.setUserInteraction(userInteractionEnabled));
1743
- }, [userInteractionEnabled]);
1742
+ clickable != undefined && ((_polygonRef$current15 = polygonRef.current) === null || _polygonRef$current15 === void 0 ? void 0 : _polygonRef$current15.setClickable(clickable));
1743
+ }, [clickable]);
1744
1744
  return null;
1745
1745
  };
1746
1746
 
@@ -1756,7 +1756,7 @@ var MFPolyline = function MFPolyline(props) {
1756
1756
  zIndex = props.zIndex,
1757
1757
  elevation = props.elevation,
1758
1758
  strokePattern = props.strokePattern,
1759
- userInteractionEnabled = props.userInteractionEnabled,
1759
+ clickable = props.clickable,
1760
1760
  map = props.map,
1761
1761
  onClick = props.onClick,
1762
1762
  onHover = props.onHover,
@@ -1785,7 +1785,7 @@ var MFPolyline = function MFPolyline(props) {
1785
1785
  zIndex: zIndex,
1786
1786
  elevation: elevation,
1787
1787
  strokePattern: strokePattern,
1788
- userInteractionEnabled: userInteractionEnabled
1788
+ clickable: clickable
1789
1789
  };
1790
1790
  Object.keys(option).forEach(function (key) {
1791
1791
  if (option[key] == undefined || option[key] == null) {
@@ -1900,8 +1900,8 @@ var MFPolyline = function MFPolyline(props) {
1900
1900
  useEffect(function () {
1901
1901
  var _polylineRef$current15;
1902
1902
 
1903
- userInteractionEnabled != undefined && ((_polylineRef$current15 = polylineRef.current) === null || _polylineRef$current15 === void 0 ? void 0 : _polylineRef$current15.setUserInteraction(userInteractionEnabled));
1904
- }, [userInteractionEnabled]);
1903
+ clickable != undefined && ((_polylineRef$current15 = polylineRef.current) === null || _polylineRef$current15 === void 0 ? void 0 : _polylineRef$current15.setClickable(clickable));
1904
+ }, [clickable]);
1905
1905
  return null;
1906
1906
  };
1907
1907