-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
4Refinementthis ticket is ready for refinement with the teamthis ticket is ready for refinement with the teamTaskTechnical task that cannot be written as a user storyTechnical task that cannot be written as a user story
Description
Describe the task
Capacitor does not support reading file assets from app assets built into apps. Instead we can follow the approach InvasivesBC used for their offline maps, and, when online:
- Query the pmtiles header for extent and size of basemap
- Request all z, x, y tiles and store them in a sqlite database: https://github.com/bcgov/invasivesbc/blob/dev/app/src/utils/tile-cache/sqlite-cache.ts
- Provide feedback to the user of the download status
Acceptance Criteria
- A user can download the pmtiles basemap when connected to the internet
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
4Refinementthis ticket is ready for refinement with the teamthis ticket is ready for refinement with the teamTaskTechnical task that cannot be written as a user storyTechnical task that cannot be written as a user story