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,
      },
    },
  });
}