enviroCar / enviroCar-app

enviroCar Android Application
https://envirocar.org
GNU General Public License v3.0
89 stars 158 forks source link

Added option to configure map provider & style in the application settings #1010

Closed alexmercerind closed 3 months ago

alexmercerind commented 3 months ago

The pull-request refactors the application to use the MapProvider interface, instead of MapboxMapProvider implementation directly. This has been done by introducing MapProviderRepository, which accesses the currently selected map provider & style from the application's settings.

The option to modify the currently enabled map provider & associated style has also been added in the application's settings. The screenshot(s) & video(s) have been attached below for reference:

https://github.com/user-attachments/assets/406ef4e8-4984-47d1-82a8-08b815ca6dbb