From 6145fd59187409f7c62585887ea1e0c692179bd4 Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期三, 28 九月 2022 15:16:13 +0800
Subject: [PATCH] 图层与标注在电子地图上显示;去掉图例单位,单位记录在树目录;增加上海市遮罩,辅助图层增加行政区与街道

---
 js/function_wind.js |   22 ++--------------------
 1 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/js/function_wind.js b/js/function_wind.js
index 913fa87..3e372f8 100644
--- a/js/function_wind.js
+++ b/js/function_wind.js
@@ -64,6 +64,7 @@
     name: "褰卞儚娉ㄨ",
     layer: "img_z",
     key: tiandituArr,
+    zIndex: 999
   });
   Img_annoTileLayer.show = false;
   Img_annoTileLayer.pid = 50;
@@ -73,6 +74,7 @@
     name: "鐭㈤噺鍥炬敞璁�",
     layer: "vec_z",
     key: tiandituArr,
+    zIndex: 998
   });
   Vec_annoTileLayer.show = false;
   Vec_annoTileLayer.pid = 50;
@@ -88,24 +90,4 @@
   });
   // mars3d.global_variables.tmpHighlightGraphicLayer.bindPopup(bindPopupFunction);
   map.addLayer(mars3d.global_variables.tmpHighlightGraphicLayer);
-}
-function addMaskShanghai() {
-  //geojson 鍚堣偉杈圭晫绾�
-  geoJsonLayer = new mars3d.layer.GeoJsonLayer({
-    url: "//data.mars3d.cn/file/geojson/areas/340100.json",
-    mask: true, //鏍囪瘑涓洪伄缃╁眰銆愰噸鐐瑰弬鏁般��
-    symbol: {
-      styleOptions: {
-        fill: true,
-        color: "rgb(2,26,79)",
-        opacity: 0.9,
-        outline: false,
-        outlineColor: "#39E09B",
-        outlineWidth: 8,
-        outlineOpacity: 0.8,
-        arcType: Cesium.ArcType.GEODESIC,
-        clampToGround: true,
-      },
-    },
-  });
 }
\ No newline at end of file

--
Gitblit v1.9.1