laptop and a wrench

Bug

Some FeatureLayer and MapImageLayer do not draw on the specific Android devices when the opacity is not set to 1.

Zuletzt veröffentlicht: October 27, 2020 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000130223
EingereichtApril 17, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.15
BetriebssystemN/A
BetriebssystemversionN/A
Behoben in Version4.20
StatusFixed

Workaround

Only the first layer added to map is affected by the bug.​

The issue was reproduced in Oppo F15 Android 10 device using ARM Mali G72 MP3 900 MHz GPU. The following sample codes given in the steps to reproduce were run on Google Chrome browser.

FeatureLayer (4.16): https://codepen.io/lxie/pen/yLYYwBz

MapImageLayer (4.16): https://codepen.io/lxie/pen/OJyWMaM

  • By adding a dummy layer before the correct layer with required opacity, the desired results can be obtained. 
  • By setting 0 opacity for the dummy layer it can be prevented from being visible during zooming and panning operations.

For testing purposes the same layer was used as a dummy layer. Below are the screenshots of the testing done.

Issue reproduced with opacity set as 0.5:-

FeatureLayer_Opacity_not_1.jpg MapImageLayer_Opacity_not_1.jpg

Results with opacity set as 1.

FeatureLayer_Opacity_1.jpg MapImageLayer_Opacity_1.jpg

Results with workaround and opacity set to 0.5

FeatureLayer_Opacity_not_1_with_Workaround.jpg MapImageLayer_Opacity_not_1_with_Workaround.jpg

Schritte zur Reproduzierung

Bug-ID: BUG-000130223

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln