NEZ-2749 fix: 地图 默认缩放的最大 最小值 改为从接口获取

This commit is contained in:
zhangyu
2023-04-06 10:57:20 +08:00
parent beae2e1748
commit ee995e0ee3

View File

@@ -125,7 +125,7 @@ export default {
container: mapId,
style: mapStyle,
maxZoom: mapConfig.maxZoom || 7,
minZoom: mapConfig.minZoom || 7,
minZoom: mapConfig.minZoom || 1,
renderWorldCopies: false,
maxBounds: [[-179, -85], [179, 85]],
hash: false,