laptop and a wrench

不具合

The Visibility widget in ArcGIS Web AppBuilder fails if the web app's basemap is not using the Web Mercator Auxiliary Sphere (102100) spatial reference.

最後に公開された状態: February 2, 2023 ArcGIS Web AppBuilder
不具合 ID 番号 BUG-000154723
送信されましたDecember 22, 2022
最終更新日February 2, 2023
適用対象ArcGIS Web AppBuilder
見つかったバージョン10.9.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスIn Review

対処法

  1. Open the source code for the Visibility widget from ArcGIS Web AppBuilder Developer edition by going to widgets/Visibility/js. Then open portal-utils.js. (See photo "step1")
  2. Observe the getFeatureServiceParams function within portal-utils.js. Observe the two lines with spatialReference are set to use spatial reference 102100 (Web Mercator Auxiliary Sphere). (See photo "step2")
  3. Change the two spatial references from 102100. For example, if using WGS84, these values are changed to 4326. (See photo "step3").
  4. After doing this, the Visibility widget works successfully with a spatial reference that is not 102100.

Note that this workaround requires ArcGIS Web AppBuilder Developer edition. This software defect has been logged for ArcGIS Web AppBuilder, but there seems to be no current workarounds other than using Developer edition or using basemaps with a spatial reference of 102100.

再現の手順

不具合 ID: BUG-000154723

ソフトウェア:

  • ArcGIS Web AppBuilder

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

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

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

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

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

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

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