Browse Source

优化地图乡镇边界JSON大小,优化地图加载

wangcc 2 years ago
parent
commit
42f720ccad
5 changed files with 1281 additions and 268228 deletions
  1. 1 0
      src/components/amap.vue
  2. 1276 149
      src/components/amapnow.vue
  3. 2 2
      src/views/index.vue
  4. 1 167935
      static/qingzhenzhen.json
  5. 1 100142
      static/rongjangintown.json

+ 1 - 0
src/components/amap.vue

@@ -696,6 +696,7 @@ export default {
         strokeWeight: 2, //线宽
         fillOpacity: 0 //填充透明度
       });
+      
     },
     //切换区域后刷新显示内容
     refreshAreaNode(areaNode) {

File diff suppressed because it is too large
+ 1276 - 149
src/components/amapnow.vue


+ 2 - 2
src/views/index.vue

@@ -3,7 +3,7 @@
  * @Author: wangcc
  * @Date: 2022-07-06 15:56:45
  * @LastEditors: wangcc
- * @LastEditTime: 2022-07-12 19:37:28
+ * @LastEditTime: 2022-07-14 14:40:16
  * @FilePath: \castgroup_bigscreen\src\views\index.vue
  * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved. 
 -->
@@ -178,7 +178,7 @@
 </template>
 
 <script>
-import Map from '../components/amap.vue';
+import Map from '../components/amapnow.vue';
 import Header from '../components/header';
 import MyEcharts from '../components/echarts';
 import Numerical from '../components/numerical';

File diff suppressed because it is too large
+ 1 - 167935
static/qingzhenzhen.json


File diff suppressed because it is too large
+ 1 - 100142
static/rongjangintown.json