Skip to content
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

Select basemap file automatically in ODK Collect based on QRCode config #1503

Open
spwoodcock opened this issue Apr 30, 2024 · 0 comments
Open
Labels
enhancement New feature or request frontend

Comments

@spwoodcock
Copy link
Member

Is your feature request related to a problem? Please describe.

  • When the user scans a QRCode for ODKCollect, it contains various setting options for the project.
  • Once of the config params is "reference_layer": String,, where we can provide the absolute path to an mbtiles file to load by default.

Describe the solution you'd like

  • Related to Add 'Go Offline' functionality to project details page #1437
  • When the user clicks 'Go Offline', we should download the mbtiles file into the correct place on their phone.
  • We should then update the frontend QRCode config in Files.js to use the reference_layer param and load the mbtiles by default.
@spwoodcock spwoodcock added enhancement New feature or request frontend labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
Development

No branches or pull requests

1 participant