@vtx/map 1.2.15 → 1.2.17
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/lib/VtxMap/TMap/TMap.js
CHANGED
|
@@ -1556,13 +1556,13 @@ var TMap = /*#__PURE__*/function (_React$Component) {
|
|
|
1556
1556
|
|
|
1557
1557
|
_this7.GM.setGraphic(item.id, polygon).setGraphicParam(item.id, {
|
|
1558
1558
|
attributes: _objectSpread(_objectSpread({}, item), {}, {
|
|
1559
|
-
rings:
|
|
1559
|
+
rings: pts,
|
|
1560
1560
|
other: item
|
|
1561
1561
|
}),
|
|
1562
1562
|
geometryType: 'polygon',
|
|
1563
1563
|
geometry: {
|
|
1564
1564
|
type: 'polygon',
|
|
1565
|
-
rings:
|
|
1565
|
+
rings: pts
|
|
1566
1566
|
}
|
|
1567
1567
|
});
|
|
1568
1568
|
|
|
@@ -1621,13 +1621,13 @@ var TMap = /*#__PURE__*/function (_React$Component) {
|
|
|
1621
1621
|
|
|
1622
1622
|
_this8.GM.setGraphicParam(item.id, {
|
|
1623
1623
|
attributes: _objectSpread(_objectSpread({}, item), {}, {
|
|
1624
|
-
rings:
|
|
1624
|
+
rings: pts,
|
|
1625
1625
|
other: item
|
|
1626
1626
|
}),
|
|
1627
1627
|
geometryType: 'polygon',
|
|
1628
1628
|
geometry: {
|
|
1629
1629
|
type: 'polygon',
|
|
1630
|
-
rings:
|
|
1630
|
+
rings: pts
|
|
1631
1631
|
}
|
|
1632
1632
|
});
|
|
1633
1633
|
} else {
|