Select to view content in your preferred language

Close button for Basemap widget

567
1
05-04-2022 12:07 PM
LefterisKoumis
Frequent Contributor

In web appbuilder, the widgets including the Basemap  have the close button. In ArcGIS JS API 4.x there is no property for close button. One option is to use the expand widget which doesn't fit my needs since he basemap icon resides at a horizontal menu. So, the only option is to place the basemap gallery within a panel with the dismissible property?

Basemap widget in WAB

LefterisKoumis_0-1651691197976.png

 

0 Kudos
1 Reply
ReneRubalcava
Honored Contributor

The JSAPI doesn't have anything other than Expand for something like this. This is more of an app level utility. I don't think calcite components have a close button either, but you can put some together with them.

https://developers.arcgis.com/calcite-design-system/

0 Kudos