MBTiles
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- ios, objective-c
- Domain
- mobile-dev
Research direction
Start by reading the MBTiles specification, the Mapbox Maps SDK documentation for MGLComputedShapeSource, and the referenced mapbox/mbxmapkit#3 implementation notes. Review mapbox/mapbox-gl-native#9983 for related context. Done means an iOS plugin can use an MBTiles source to provide sideloaded offline maps through the map SDK.
Written by the indexing model from the issue text.
Description
An MBTiles source could be implemented as a plugin to the map SDK.
Although MBTiles is a Mapbox-supported tile container format, the Mapbox Maps SDK doesn’t support it out of the box as a way to sideload offline maps. https://github.com/mapbox/mapbox-gl-native/issues/6862#issuecomment-287484550 explains the situation in more detail.
Fortunately, iOS map SDK v4.0.0 will introduce MGLComputedShapeSource for supplying tiles to the rendering engine on demand. It should therefore be possible to implement MBTiles support in a plugin that adds a computed shape source to the map.
See mapbox/mbxmapkit#3 for tips on how this feature was implemented in the legacy Mapbox iOS SDK (source code no longer publicly accessible).
/ref mapbox/mapbox-gl-native#9983
/cc @mapbox/maps-ios
- Dominant language
- Objective-C
- Stars
- 7
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
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.
More from mapbox/mapbox-plugins-ios
-
Traffic plugin issue Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapbox/mapbox-plugins-ios#28 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapbox/mapbox-plugins-ios#27 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
mapbox/mapbox-plugins-ios#26 ·
-
plugin: traffic
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
mapbox/mapbox-plugins-ios#25 ·
-
plugin: traffic
Difficulty 4/5 3-5 days Newbie friendliness 28/100
mapbox/mapbox-plugins-ios#22 ·
All issues in mapbox/mapbox-plugins-ios
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
objective-see/LuLu#925 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
noah-nuebling/mac-mouse-fix#2054 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
obsproject/obs-studio#13918 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HigherOrderCO/Bend#842 · 2 comments ·