laptop and a wrench

Bug

Dynamic map layer is displayed inconsistently on the initial load when the user interface elements are added to the web map viewer with the ArcGIS API for JavaScript app.

Last Published: November 26, 2018 ArcGIS API for JavaScript
Bug ID Number BUG-000116838
SubmittedSeptember 17, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.8
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

Wait for the view to be fully ready and add the layer. Instead of adding the layer directly in the map constructor, insert the following code in the JavaScript. view.when(function() { map.add(layer);

Workaround

Refresh the map image layer after the map loads.

Steps to Reproduce

Bug ID: BUG-000116838

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