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); //构造widget initWidget(map);