Map sublayer transparency value is not defined in JavaScript while it is defined in REST API.
上次发布: January 29, 2020ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000123215
已提交
June 19, 2019
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
4.11
操作系统
Windows OS
操作系统版本
2012 R2
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
Map service transparency is not the same as the opacity property on the layer that is controlled with the ArcGIS API for JavaScript. If the transparency is set on the map service, the JavaScript API MapImageLayer still has the default value of 1. Refer to the following documentation:
https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html#opacity
If the MapImageLayer.opacity is set, the actual opacity value of the sublayer is the value of MapImageLayer.opacity multiplied by the sublayer's opacity. Refer to the following documentation:
https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#opacity