From 648afc7f0ec093cae227fc6576e7280b38b6492f Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 17 Mar 2023 08:47:28 +0800
Subject: [PATCH] 地图

---
 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 8691d2b..df0ce01 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: 公用地图组件
  * 
@@ -606,7 +606,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
                 })
             )
 
@@ -638,7 +639,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