Explorar o código

交通所有3D地图均加载路网信息

wang_xy %!s(int64=2) %!d(string=hai) anos
pai
achega
221709770b
Modificáronse 3 ficheiros con 5 adicións e 4 borrados
  1. 3 3
      src/views/leader.vue
  2. 1 1
      src/views/monitor.vue
  3. 1 0
      src/views/resources.vue

+ 3 - 3
src/views/leader.vue

@@ -65,7 +65,7 @@
       <!-- 地图 -->
       <!--			<supermap ref="supermap" style="width: 100%;height: 100vh;" :mapDiv="'forestMap'" class="indexSupermapClass"-->
       <!--				:mapSite="{doubleClickZoom:false}" :codes="['9fa5']" :isSideBySide="false"></supermap>-->
-      <supermap ref="supermap" style="width: 100%;height: 100vh;"></supermap>
+      <supermap ref="supermap" style="width: 100%;height: 100vh;" :showLayer="true"></supermap>
       <!-- 右侧 -->
       <div class="rightbar" :class="indentright" ref="right">
         <div class="forthis">
@@ -158,7 +158,7 @@
     getRyList,
     getRyListByJob
   } from "@/api/forest"; //电视墙弹窗
-  
+
 import {getUserProfile} from "@/api/system/user";
   let echarts = require('echarts')
   export default {
@@ -205,7 +205,7 @@ import {getUserProfile} from "@/api/system/user";
       /** ----------------------------------底部按钮公用组件结束------------------------------------- */
     },
     mounted() {
-      
+
           // 初始化地图数据
           this.getSuperMapUrl();
       this.bottomMenuList() //获取底部公共组件消息和任务

+ 1 - 1
src/views/monitor.vue

@@ -109,7 +109,7 @@
       <!--<supermap ref="supermap" style="width: 100%;height: 100vh;" :mapDiv="'forestMap'" class="indexSupermapClass"-->
       <!--:mapSite="{doubleClickZoom:false}" :codes="['9fa5']" :isSideBySide="false" @preview="preview">-->
       <!--</supermap>-->
-      <supermap ref="supermap" @preview="preview" @jump="jump"> </supermap>
+      <supermap ref="supermap" @preview="preview" @jump="jump" :showLayer="true"> </supermap>
       <!-- 右侧 -->
       <div class="rightbar" :class="indentright" ref="right">
         <div class="forthis">

+ 1 - 0
src/views/resources.vue

@@ -87,6 +87,7 @@
         ref="supermap"
         style="width: 100%; height: 100vh"
         @sewageOutletClick="sewageOutletClick"
+        :showLayer="true"
       >
       </supermap>
       <vBottomMenu ref="bottomMenu"></vBottomMenu>