mars3d icon indicating copy to clipboard operation
mars3d copied to clipboard

GeoJsonLayer图层透明度设置问题

Open giser1119 opened this issue 1 year ago • 0 comments

当在geojsonlayer构造参数symbol设置透明度后,重新设置图层透明度好像有透明度叠加效果

graphicLayer = new mars3d.layer.GeoJsonLayer({ name: "全国省界", url: "//data.mars3d.cn/file/geojson/areas/100000_full.json", format: simplifyGeoJSON, // 用于自定义处理geojson symbol: { type: "polyline", styleOptions: { opacity:0.3, width: 2, color:"#f00" } }, flyTo: true }) graphicLayer.opacity = 1

1

giser1119 avatar May 22 '24 02:05 giser1119