mapbox / mapbox/mapbox-plugins-android
Offline Plugin does not support providing style via local files on device, only via remote URLS
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 242
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
The implementations of OfflineRegionDefinition don't have support for setting the style from a local file or something of the sort. I need to define my styles dynamically (the map sources will be selected by the user) and then cache tiles for later offline use. MapboxMap can have its style set via local file and asset urls, so why not the same support for the offline module?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementations of OfflineRegionDefinition and comparing their style inputs with MapboxMap's local-file and asset-URL support. Trace how offline styles are currently provided and determine the API and behavior needed for local styles, including dynamically defined sources; add or update tests so local-file and asset-based styles work for offline caching.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100