Select to view content in your preferred language

BasemapGallery dropdown breaking connection after certain time?

419
4
08-08-2024 12:45 PM
Paco
by
Frequent Contributor

Hello all!

I added the ESRI BasemapGallery to a dropdown div I created and customized the list to only 3 basemaps.

The BasemapGallery works just fine switching between basemaps,  but after several minutes of down-time the basemap icons 'break'.   see images before and a little bit after.   a refresh brings them all back.

anybody see this happen?  thx!

 

const basemapGallery = new BasemapGallery({
  view: view,
  container: "basemaps",
  source: {
    portal: "https://arcgis.com",
 
 
Paco_0-1723146434523.pngPaco_1-1723146478398.png

 

0 Kudos
4 Replies
Slyke
by
Emerging Contributor

What shows up in the network tab when it breaks?

0 Kudos
Paco
by
Frequent Contributor

..Disregard?   it has not created this error in several days.  maybe a network issue?  thx all!

0 Kudos
Paco
by
Frequent Contributor

..Spoke too soon.   it's back.  after some time(an hour?) with the window minimized and re-maximized,  the Basemaps have a 'broken' icon.   it must be some level of a 'time out' issue with the Basemap widget?  very odd.  if anyone has any ideas. 

here is a screenshot of what is showing in the Network tab if this helps anyone..

Paco_0-1723842227684.png

 

0 Kudos
Paco
by
Frequent Contributor

..Im going to keep adding more content to this strangeness.   the switching of Basemaps still works,  even when the 'broken' image icon exists.   so,  there is some break in the icon widget itself,  but the Basemap widget still works..

0 Kudos