Experience Builder doesn't Honour Basemap Thumbnail Dimensions

131
1
01-04-2022 10:18 PM
Cory_Williams
New Contributor II

Hi team,
I've noticed that Experience Builder doesn't honour the Basemap Thumbnail Dimensions as they are in Portal.

They appear to be a square where as 64x64 (1:1) where as the Thumbnails on Portal are 3:2.

Cory_Williams_0-1641363404718.png

 

Are there any plans to make this a standard moving forward in AGOL and Portal? Or are there any plans to change ExB to honour standard thumbnail dimensions?

Put your best thumbnail forward (esri.com)

Cheers.

0 Kudos
1 Reply
jcarlson
MVP Honored Contributor

I think the "standard" may be shifting, actually. The square thumbnail style seems pretty common across the JS 4.x maps and apps. Even the new map viewer does it.

uosl_0-1641386790950.png

You can find the culprit in main.css:

.esri-basemap-gallery__item-thumbnail {
 height:64px;
 width:auto;
 box-shadow:0 0 0 1px rgba(110,110,110,.3)
}
@supports(object-fit: cover) {
 .esri-basemap-gallery__item-thumbnail {
  height:64px;
  width:64px;
  object-fit:cover
 }
}

Which is to say, short of modifying that stylesheet (which is not recommended), you may be stuck with squares for now.

They did just post the 2022 Experience Builder Roadmap, and the basemap gallery will at some point be getting its own widget in EB. I would imagine once that happens, it will be a bit more configurable. Fingers crossed!

- Josh Carlson
Kendall County GIS
0 Kudos