@vtx/map 1.2.13 → 1.2.15
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
|
@@ -2300,10 +2300,10 @@ var TMap = /*#__PURE__*/function (_React$Component) {
|
|
|
2300
2300
|
currentRectangle = ob.currentRectangle,
|
|
2301
2301
|
allRectangles = ob.allRectangles;
|
|
2302
2302
|
t.GM.setGraphic(drawParam.data.id, currentRectangle);
|
|
2303
|
-
var currentLnglats = [currentBounds.getNorthEast(),
|
|
2303
|
+
var currentLnglats = [currentBounds.getNorthEast(), {
|
|
2304
2304
|
lng: currentBounds.getSouthWest().lng,
|
|
2305
2305
|
lat: currentBounds.getNorthEast().lat
|
|
2306
|
-
}, {
|
|
2306
|
+
}, currentBounds.getSouthWest(), {
|
|
2307
2307
|
lng: currentBounds.getNorthEast().lng,
|
|
2308
2308
|
lat: currentBounds.getSouthWest().lat
|
|
2309
2309
|
}];
|