From e67b7c8dc6b08f4571f330a7972a604d2766c633 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Fri, 17 Mar 2023 09:07:09 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs

---
 src/components/map/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index 2b512c8..9a11c79 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -2,7 +2,7 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2022-08-18 17:00:30
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2023-03-15 16:24:05
+ * @LastEditTime: 2023-03-16 16:54:09
  * @FilePath: \srs-police-affairs\src\components\map\index.vue
  * @Description: 公用地图组件
  * 
@@ -603,7 +603,8 @@
             baseLayers = global.viewer.imageryLayers.addImageryProvider(
                 new global.DC.Namespace.Cesium.UrlTemplateImageryProvider({
                     url: `${window.BASE_URL_CONFIG.VUE_APP_MAP_YX}/{z}/{x}/{y}.png`,
-                    minimumLevel: 0
+                    minimumLevel: 0,
+                    maximumLevel: 25
                 })
             )
 
@@ -635,7 +636,7 @@
                     style: "default",
                     format: "image/png",
                     tileMatrixSetID: "c",
-                    tileMatrixLabels: new Array(18).fill(0).map((v, i) => i + 1),
+                    tileMatrixLabels: new Array(20).fill(0).map((v, i) => i + 1),
                     tilingScheme: new global.DC.Namespace.Cesium.GeographicTilingScheme(),
                 })
             )

--
Gitblit v1.9.3