The Mapbox API allows integration of map services into Android Studio applications.
I’m using it to create a new navigation application. It doesn’t follow the device’s location but always starts in San Francisco this is ok for my purposes. However, I can’t figure out where to change the starting location.
Link to the Code I’m using:
I think it should be changeable here somewhere.
Thanks for any answers!
2
Answers
Found my own Answer, it is changeable within the function: onStartNavigation()
You can use mock location in emulator.
some mock location apps on play store -:
https://play.google.com/store/apps/details?id=ru.gavrikov.mocklocations
https://play.google.com/store/apps/details?id=com.lexa.fakegps