laptop and a wrench

不具合

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

最後に公開された状態: October 27, 2020 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000130223
送信されましたApril 17, 2020
最終更新日June 5, 2024
適用対象ArcGIS API for JavaScript
見つかったバージョン4.15
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
修正されたバージョン4.20
ステータスFixed

対処法

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

再現の手順

不具合 ID: BUG-000130223

ソフトウェア:

  • ArcGIS API for JavaScript

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動