Skip to content

Commit

Permalink
AA/AAOS: disable unused map features
Browse files Browse the repository at this point in the history
so they don't show up accidentally
  • Loading branch information
johan12345 committed Aug 13, 2024
1 parent e911eb7 commit 32c32ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/net/vonforst/evmap/auto/MapScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,10 @@ class MapScreen(ctx: CarContext, val session: EVMapSession) :
map.setMyLocationEnabled(true)
map.uiSettings.setMyLocationButtonEnabled(false)
map.uiSettings.setMapToolbarEnabled(false)
map.uiSettings.setTiltGesturesEnabled(false)
map.uiSettings.setRotateGesturesEnabled(false)
map.setIndoorEnabled(false)
map.uiSettings.setIndoorLevelPickerEnabled(false)
map.setAttributionClickListener { attributions ->
screenManager.push(MapAttributionScreen(carContext, attributions))
}
Expand Down

0 comments on commit 32c32ed

Please sign in to comment.