How to use standalone Cloudmade cards in iPhone app

Ive looked at the posts on the Cloudmade website here , and I get some, but not all. I posted the question below, but I didn’t need help, so I thought I was asking the question here.

I see what I need:

  • download the tiles for the desired area on my Mac (but cannot see how to do this).
  • convert them to sqlite database using map2sqlite utility, changing the code to display tiles in a table called "ZCACHE", not "tiles"
  • Copy the database to the application package
  • paste some code to copy this database when you first start from the Application Bundle package in the document directory
  • Somehow getting the application to use this database, and not the online version - I can’t understand how this is done.

Any help would be warmly welcome,

Chris.

+4
source share
2 answers

please check this tutorial, it can help - http://www.gisnotes.com/wordpress/category/sqlite3/ .

+1
source

The best iPhone solution for offline maps is:

1.- Create your own maps using TileMill and then export to MBTiles format.

2.- Get the mbtiles-ios-example and use the newly created MBTiles file. To compile it, you need to download Route-Me and add it to the project.

Now there is another option (not free): Mapbox .

+5
source

All Articles