Expand component

This sample demonstrates how to add a Expand component with a BasemapGallery. The Expand component is helpful for hiding UI elements that otherwise block portions of the view. Click the icon representing the BasemapGallery to view the content inside the Expand (in this case the BasemapGallery). You can collapse the content by clicking the collapse icon.

When adding an Expand component, place the desired content within the arcgis-expand tags.

Use dark colors for code blocksCopy
1
2
3
4
5
<arcgis-scene basemap="satellite">
  <arcgis-expand expanded position="top-right">
    <arcgis-basemap-gallery></arcgis-basemap-gallery>
  </arcgis-expand>
</arcgis-scene>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.