laptop and a wrench

Bogue

An error occurs when initializing the Basemap Gallery widget in a scene view using the Promise statement.

Dernière publication: May 8, 2017 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000104287
EnvoiApril 6, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.3
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutNon-Reproducible

Informations supplémentaires

Cannot reproduce what is described within notes.

Solution de contournement

Uncomment the basemap's load method from the following code: var sta = basemapOrto.load();Both basemaps are shown in the widget.This issue happens precisely with a custom basemap and in a scene view.Basemap API suggests the method must be called by the developer when accessing a resource that will not be loaded in a View. Refer to the link below:<a href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#load" target="_blank">https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#load</a>

Étapes pour reproduire

ID de bogue: BUG-000104287

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