Skip to content
This repository has been archived by the owner on May 9, 2018. It is now read-only.

How to use Mapbox iOS SDK with OpenStreetMap offline map tiles #635

Open
daj opened this issue May 20, 2015 · 1 comment
Open

How to use Mapbox iOS SDK with OpenStreetMap offline map tiles #635

daj opened this issue May 20, 2015 · 1 comment

Comments

@daj
Copy link

daj commented May 20, 2015

I'm trying to follow these instructions:
http://shiki.me/blog/offline-maps-in-ios-using-openstreetmap-and-route-me/

In summary, I use downloadosmtiles.pl to download the tiles, and then map2sqlite to create the SQLite .mbtiles file from them.

My code used to work fine with the original Route-Me repository, and now I'm trying to update it to the Mapbox fork.

There seem to have been some changes to the expected database format. I had to update map2sqlite to make a few database column and table name changes to fix DB Error messages logged by the Mapbox iOS SDK (daj/map2sqlite#1), but my tiles still aren't appearing yet. I haven't dug into the detail but would appreciate some advice on the best way to use OpenStreetMap map tiles with Mapbox. Am I going in the right direction?

Here's my fork of map2sqlite with the changes I have had to make so far:
https://github.com/daj/map2sqlite

Thanks!

@iDevelopper
Copy link

I did this perfectly with MOBAC

http://mobac.sourceforge.net/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants