地图层级修改

This commit is contained in:
2025-12-26 03:04:04 +08:00
parent fdefb92540
commit 5a5752b113

View File

@@ -40,8 +40,8 @@ const baseLayerConfig = {
maxAvailableZoom: 18, maxAvailableZoom: 18,
subdomains: [ '0', '1', '2', '3', '4', '5', '6', '7' ], subdomains: [ '0', '1', '2', '3', '4', '5', '6', '7' ],
urlTemplate: urlTemplate:
'http://198.16.74.211:5000/{z}/{x}/{y}.png' // 'http://198.16.74.211:5000/{z}/{x}/{y}.png'
// 'https://inner.qdlimap.cn:9443/gisAssistant/wmts/grid_tile/tianditu/img_w/{z}/{y}/{x}' 'https://inner.qdlimap.cn:9443/gisAssistant/wmts/grid_tile/tianditu/img_w/{z}/{y}/{x}'
}, },
tdt_tbo: { tdt_tbo: {
max: 18, max: 18,
@@ -92,8 +92,8 @@ const getLocationSymbol = () => [
} }
] ]
const baseConfig = { const baseConfig = {
center: [ 120.88, 28.01 ], center: [ 120.68, 28.01 ],
zoom: 10, zoom: 10.5,
maxZoom: 20, maxZoom: 20,
minZoom: 5, minZoom: 5,
attribution: '', attribution: '',