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.

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.

The developer dashboard has moved

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close