Search panel configuration
Search panel is the horizontal button container in the content part of the app in free drive state. The UX Framework exposes an option to let developers change its position.
Let’s say your UX team realized that the search panel should be displayed on top of the screen:
Dash.init(
context = this,
accessToken = getString(R.string.mapbox_access_token),
) {
ui {
searchPanel {
position = SearchPanelPosition.TOP_LEFT
}
}
}
See Also
GUIDE
Search panel customization
Learn how to customize the search panel.
Was this page helpful?