laptop and a wrench

Bogue

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.

Dernière publication: February 2, 2023 ArcGIS Web AppBuilder
Numéro d’ID de bogue BUG-000154723
EnvoiDecember 22, 2022
Dernière modificationFebruary 2, 2023
S’applique àArcGIS Web AppBuilder
Version trouvée10.9.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutIn Review

Solution de contournement

  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.

Étapes pour reproduire

ID de bogue: BUG-000154723

Logiciel:

  • ArcGIS Web AppBuilder

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