@fleet-frontend/mower-maps 0.0.9-beta.2 → 0.0.9-beta.3
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/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -8980,7 +8980,7 @@ const MowerMapRenderer = forwardRef(({ mapConfig, modelType, mapRef, mapJson, pa
|
|
|
8980
8980
|
);
|
|
8981
8981
|
console.log('fitBounds----->', googleBounds);
|
|
8982
8982
|
mapRef.fitBounds(googleBounds);
|
|
8983
|
-
}, [mapJson, mapRef]);
|
|
8983
|
+
}, [mapJson, mapRef, defaultTransform]);
|
|
8984
8984
|
// 初始化Google Maps叠加层
|
|
8985
8985
|
const initializeGoogleMapsOverlay = async () => {
|
|
8986
8986
|
if (!mapJson)
|
package/dist/index.js
CHANGED
|
@@ -8982,7 +8982,7 @@ const MowerMapRenderer = React.forwardRef(({ mapConfig, modelType, mapRef, mapJs
|
|
|
8982
8982
|
);
|
|
8983
8983
|
console.log('fitBounds----->', googleBounds);
|
|
8984
8984
|
mapRef.fitBounds(googleBounds);
|
|
8985
|
-
}, [mapJson, mapRef]);
|
|
8985
|
+
}, [mapJson, mapRef, defaultTransform]);
|
|
8986
8986
|
// 初始化Google Maps叠加层
|
|
8987
8987
|
const initializeGoogleMapsOverlay = async () => {
|
|
8988
8988
|
if (!mapJson)
|