|
@@ -5,7 +5,7 @@
|
|
<div class="map-tit" v-show="mapshow">
|
|
<div class="map-tit" v-show="mapshow">
|
|
<div class="top-tit">
|
|
<div class="top-tit">
|
|
<i class="iconfont sj-icon-jkzx"></i>
|
|
<i class="iconfont sj-icon-jkzx"></i>
|
|
- <span><img src="../assets/images/close.svg" /></span>
|
|
|
|
|
|
+ <span><img src="../assets/images/close.svg" @click="mapshow=false"/></span>
|
|
</div>
|
|
</div>
|
|
<div class="map-txt" v-html="bindPopupHtml">
|
|
<div class="map-txt" v-html="bindPopupHtml">
|
|
</div>
|
|
</div>
|
|
@@ -184,15 +184,15 @@ export default {
|
|
//开始加载专题图等数据,8秒后开始执行
|
|
//开始加载专题图等数据,8秒后开始执行
|
|
setTimeout(function() {
|
|
setTimeout(function() {
|
|
// 3.水系
|
|
// 3.水系
|
|
- let shuixi = that.superMapRootUrl+"/map-mvt-shuixiMian/restjsr/v1/vectortile/maps/shuixi_Mian";
|
|
|
|
- that.mvtMap0 = that.scene.addVectorTilesMap({
|
|
|
|
- url: shuixi,
|
|
|
|
- canvasWidth: 512,
|
|
|
|
- name: 'mvt_map0',
|
|
|
|
- viewer: that.viewer,
|
|
|
|
- selectedColor:new Cesium.Color(6,169,254,0.5),
|
|
|
|
- show:true,
|
|
|
|
- });
|
|
|
|
|
|
+ // let shuixi = that.superMapRootUrl+"/map-mvt-shuixiMian/restjsr/v1/vectortile/maps/shuixi_Mian";
|
|
|
|
+ // that.mvtMap0 = that.scene.addVectorTilesMap({
|
|
|
|
+ // url: shuixi,
|
|
|
|
+ // canvasWidth: 512,
|
|
|
|
+ // name: 'mvt_map0',
|
|
|
|
+ // viewer: that.viewer,
|
|
|
|
+ // selectedColor:new Cesium.Color(6,169,254,0.5),
|
|
|
|
+ // show:true,
|
|
|
|
+ // });
|
|
|
|
|
|
// //4.林地
|
|
// //4.林地
|
|
// let lindi = that.superMapRootUrl+"/map-mvt-lindi/restjsr/v1/vectortile/maps/lindi";
|
|
// let lindi = that.superMapRootUrl+"/map-mvt-lindi/restjsr/v1/vectortile/maps/lindi";
|
|
@@ -205,16 +205,16 @@ export default {
|
|
// show:true,
|
|
// show:true,
|
|
// });
|
|
// });
|
|
//
|
|
//
|
|
- // //5.农田
|
|
|
|
- // let nongtian = that.superMapRootUrl+"/map-mvt-nongtian/restjsr/v1/vectortile/maps/nongtian";
|
|
|
|
- // that.mvtMap2 = that.scene.addVectorTilesMap({
|
|
|
|
- // url: nongtian,
|
|
|
|
- // canvasWidth: 512,
|
|
|
|
- // name: 'mvt_map2',
|
|
|
|
- // viewer: that.viewer,
|
|
|
|
- // selectedColor:new Cesium.Color(250, 236, 246,1.0),
|
|
|
|
- // show:true,
|
|
|
|
- // });
|
|
|
|
|
|
+ //5.农田
|
|
|
|
+ let nongtian = that.superMapRootUrl+"/map-mvt-nongtian/restjsr/v1/vectortile/maps/nongtian";
|
|
|
|
+ that.mvtMap2 = that.scene.addVectorTilesMap({
|
|
|
|
+ url: nongtian,
|
|
|
|
+ canvasWidth: 512,
|
|
|
|
+ name: 'mvt_map2',
|
|
|
|
+ viewer: that.viewer,
|
|
|
|
+ selectedColor:new Cesium.Color(250, 236, 246,1.0),
|
|
|
|
+ show:true,
|
|
|
|
+ });
|
|
//
|
|
//
|
|
// //6.路网
|
|
// //6.路网
|
|
// let road = that.superMapRootUrl+"/map-mvt-roadXian/restjsr/v1/vectortile/maps/road_Xian";
|
|
// let road = that.superMapRootUrl+"/map-mvt-roadXian/restjsr/v1/vectortile/maps/road_Xian";
|