laptop and a wrench

Bug

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

Last Published: May 8, 2017 ArcGIS API for JavaScript
Bug ID Number BUG-000104287
SubmittedApril 6, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.3
Operating SystemWindows OS
Operating System Version10.0
StatusNon-Reproducible

Additional Information

Cannot reproduce what is described within notes.

Workaround

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>

Steps to Reproduce

Bug ID: BUG-000104287

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options