From 489fabfac4615c07798e872533e4f48c96f4e95a Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 04 Jan 2022 16:41:31 +0800
Subject: [PATCH] +2.5d
---
src/components/mobilemap/index.vue | 66 +++++++++++++++++---------------
1 files changed, 35 insertions(+), 31 deletions(-)
diff --git a/src/components/mobilemap/index.vue b/src/components/mobilemap/index.vue
index 2a8ce6c..8fa8151 100644
--- a/src/components/mobilemap/index.vue
+++ b/src/components/mobilemap/index.vue
@@ -431,36 +431,39 @@
// 2.5D贴图↓
let usetowpointfive = () => {
var provider =
- new that.DC.Namespace.Cesium.WebMapTileServiceImageryProvider({
- url: "http://www.tdtfz.com/OneMapServer/rest/services/fzsw2019/MapServer/WMTS/tile/1.0.0/fzsw2019/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}",
- layer: "fzsw2019",
- style: "default",
- tileMatrixSetID: "default028mm",
- format: "image/jpgpng",
- tilingScheme: new that.DC.Namespace.Cesium.GeographicTilingScheme(),
- maximumLevel: 19,
- tileMatrixLabels: [
- "0",
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- "10",
- "11",
- "12",
- "13",
- "14",
- "15",
- "16",
- "17",
- "18",
- "19",
- ],
+ // new that.DC.Namespace.Cesium.WebMapTileServiceImageryProvider({
+ // url: "http://www.tdtfz.com/OneMapServer/rest/services/fzsw2019/MapServer/WMTS/tile/1.0.0/fzsw2019/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}",
+ // layer: "fzsw2019",
+ // style: "default",
+ // tileMatrixSetID: "default028mm",
+ // format: "image/jpgpng",
+ // tilingScheme: new that.DC.Namespace.Cesium.GeographicTilingScheme(),
+ // maximumLevel: 19,
+ // tileMatrixLabels: [
+ // "0",
+ // "1",
+ // "2",
+ // "3",
+ // "4",
+ // "5",
+ // "6",
+ // "7",
+ // "8",
+ // "9",
+ // "10",
+ // "11",
+ // "12",
+ // "13",
+ // "14",
+ // "15",
+ // "16",
+ // "17",
+ // "18",
+ // "19",
+ // ],
+ // });
+ new that.DC.Namespace.Cesium.ArcGisMapServerImageryProvider({
+ url: "http://arcgis.jxpskj.com:6080/arcgis/rest/services/PingXiang25DMapDN/MapServer",
});
return viewer.imageryLayers.addImageryProvider(provider);
};
@@ -551,8 +554,9 @@
});
}
};
+ // [116.36618337, 27.95911915, 2000.0]
that.dimension == "2.5D"
- ? doit([116.36618337, 27.95911915, 2000.0])
+ ? doit([114.03928791, 27.62954732, 360.0])
: // : doit([116.39038494750986, 39.902393222208644, 330.0]);
doit("建模");
};
--
Gitblit v1.9.3