AnsweredAssumed Answered

ESRI JS API 4.X : basemapToogle Widget from webmap, thumbnail not loaded

Question asked by NicolasGIS on Jul 19, 2018

Using ArcGIS JS API 4.8, when I load a webmap and configure a second basemap from a portalItem webmap, I noticed that the thumbnail of the second basemap is not displayed at startup. You need to toogle it once:

Demo

 

Using a webpack build, I even do not get the main webmap displayed at start up. I need to toogle several times the widget so that thumbnails get loaded.

 

Any idea ?

 

Thanks !

Outcomes