-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline map support integration #1502
Conversation
…ng preference key values from it can take at least 10,000+ ns vs 100+ ns for directly using the literal string value.
updated google map tile provider interface.
Updating google map fragment implementation to support multiple tile providers.
Added support for offline map download.
…DroidPlanner/droidplanner into feature_mapbox_provider
Offline map support integration
Very nice idea, but please add a paste button for the mapbox API token :) |
@hsteinhaus since it's a input field, you can long click on it, and the |
Unfortunately not working here (Android 4.4.4/CM11 on Amazon Tate). Other apps bring up the paste option on long press, as expected (e.g. Chrome), but not Tower. I tested the latest available beta. |
Can you post a pic of on the map box site showing what needs to be copied there? And an example of how it looks plugged into the app? There is an api and a token that I believe is specific to each map you make? I'm not sure which info to put in and what format or should be in? Thanks |
This PR adds support for offline maps download, and integration within Tower.
In order to use this feature, a mapbox account is required to get access to the map tiles:
Navigate to
Settings
->User Interface
:Navigate to the
Map Provider Preferences
:In the preferences screen, select
mapbox
as the tile provider.Then enter a valid account's mapbox
id
andaccess token
.Once this setup is complete, check
Enable offline map layer
to activate offline map support.Additionally, check
Add 'Download Map' to menu
to add theDownload Map
option to the overflow menu.Click on the
Download Map
menu button to access the map download screen: