DEPRECATED-mapbox-ios-sdk icon indicating copy to clipboard operation
DEPRECATED-mapbox-ios-sdk copied to clipboard

How to use Mapbox iOS SDK with OpenStreetMap offline map tiles

Open daj opened this issue 10 years ago • 1 comments

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 (https://github.com/daj/map2sqlite/issues/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!

daj avatar May 20 '15 17:05 daj

I did this perfectly with MOBAC

http://mobac.sourceforge.net/

iDevelopper avatar Oct 22 '15 05:10 iDevelopper