laptop and a wrench

Error

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

Última publicación: May 8, 2017 ArcGIS API for JavaScript
Número de ID del error BUG-000104287
EnviadoApril 6, 2017
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.3
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoNon-Reproducible

Información adicional

Cannot reproduce what is described within notes.

Solución alternativa

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>

Pasos para reproducir

ID del error: BUG-000104287

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga