Merge branch 'dev-3.7' of git.mesalab.cn:nezha/nezha-fronted into dev-3.7

This commit is contained in:
zyh
2023-04-06 12:24:14 +08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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 || 1,
renderWorldCopies: false,
maxBounds: [[-179, -85], [179, 85]],
hash: false,

View File

@@ -70,8 +70,8 @@ export default {
this.map = new maplibregl.Map({
container: mapId,
style: mapStyle,
maxZoom: 7,
minZoom: 1,
maxZoom: this.mapParam.maxZoom || 7,
minZoom: this.mapParam.minZoom || 1,
renderWorldCopies: false,
maxBounds: [[-179, -85], [179, 85]],
hash: false,