From 8dc63fb2f82aefc329addd61781ce74a0f8edca3 Mon Sep 17 00:00:00 2001
From: fuchengshen <men883234@gmail.com>
Date: 星期三, 19 十月 2022 16:57:38 +0800
Subject: [PATCH] 上海遮罩层

---
 js/index.js |   19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/js/index.js b/js/index.js
index 06d83d9..9a9c7e8 100644
--- a/js/index.js
+++ b/js/index.js
@@ -104,24 +104,7 @@
   map = new mars3d.Map("mars3dContainer", mapOptions);
 
   //涓婃捣杈圭晫閬僵
-  geoJsonLayer = new mars3d.layer.GeoJsonLayer({
-    url: "data/shanghai.json",
-    mask: true, //鏍囪瘑涓洪伄缃╁眰銆愰噸鐐瑰弬鏁般��
-    symbol: {
-      styleOptions: {
-        fill: true,
-        color: "rgb(2,26,79)",
-        outline: true,
-        outlineColor: "#39E09B",
-        outlineWidth: 8,
-        outlineOpacity: 0.8,
-        arcType: Cesium.ArcType.GEODESIC,
-        clampToGround: true,
-      },
-    },
-    zIndex: 99999999999,
-  });
-  map.addLayer(geoJsonLayer);
+
 
   //鏋勯�爓idget
   initWidget(map);

--
Gitblit v1.9.1