shuishen
2023-03-17 648afc7f0ec093cae227fc6576e7280b38b6492f
地图
1 files modified
7 ■■■■■ changed files
src/components/map/index.vue 7 ●●●●● patch | view | raw | blame | history
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(),
                })
            )