laptop and a wrench

Bug

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

Zuletzt veröffentlicht: May 8, 2017 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000104287
EingereichtApril 6, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.3
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusNon-Reproducible

Zusätzliche Informationen

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>

Schritte zur Reproduzierung

Bug-ID: BUG-000104287

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln