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