feat: More options to map initialization

This commit is contained in:
Piotr Dec 2024-07-15 01:52:16 +02:00
parent 756b760d5c
commit 9db0e3611c
Signed by: stawros
GPG key ID: F89F27AD8F881A91
3 changed files with 47 additions and 16 deletions

View file

@ -63,8 +63,8 @@ class MainActivity : AppCompatActivity() {
}
}
MapboxNavigationApp.current()?.startTripSession()
mapControl = MapControl(binding.mapView, resources)
mapControl.follow()
mapControl = MapControl(this, binding.mapView, resources)
mapControl.init()
}
bluetoothInit()
}