laptop and a wrench

Bogue

Map sublayer transparency value is not defined in JavaScript while it is defined in REST API.

Dernière publication: January 29, 2020 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000123215
EnvoiJune 19, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.11
Système d’exploitationWindows OS
Version du système d’exploitation2012 R2
StatutWill Not Be Addressed

Informations supplémentaires

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

Étapes pour reproduire

ID de bogue: BUG-000123215

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement