I'm trying to find out if it's possible to shift the map view over when an action bar is expanded. For example, when this action bar is expanded, it covers up my search widget, scale bar, etc.
Here is a codepen that uses padding with an action bar: https://codepen.io/benesri/pen/XWVBMQm?editors=1010
Hi @Mandalorian,
MapView has a padding property which will do that. Here is a sample from the JavaScript API:
https://developers.arcgis.com/javascript/latest/sample-code/view-padding/
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.