NEZ-2749 fix: 地图 默认缩放的最大 最小值 改为从接口获取
This commit is contained in:
@@ -125,7 +125,7 @@ export default {
|
|||||||
container: mapId,
|
container: mapId,
|
||||||
style: mapStyle,
|
style: mapStyle,
|
||||||
maxZoom: mapConfig.maxZoom || 7,
|
maxZoom: mapConfig.maxZoom || 7,
|
||||||
minZoom: mapConfig.minZoom || 7,
|
minZoom: mapConfig.minZoom || 1,
|
||||||
renderWorldCopies: false,
|
renderWorldCopies: false,
|
||||||
maxBounds: [[-179, -85], [179, 85]],
|
maxBounds: [[-179, -85], [179, 85]],
|
||||||
hash: false,
|
hash: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user