After much fiddling and months of reading, I've come to the conclusion that Leaflet maps with Mapbox map layers is a great solution for an offline map (Mapbox has some of the best looking maps I have seen). It's not so bad to implement once you find a way of grabbing all the tiles from somewhere (or extracting the files from the .mbtiles archive, like I did).

Anyway, I was wondering if anyone had any idea why, in my Leaflet tab of my Sencha Touch app, where I have a remote URL like this:

...I think that is the correct place to put 'scheme' but I don't have my machine to check.

To get the map tiles you will have to download .mbtile files and unarchive them using the mbutil command line (was a bit of a pain to setup to be honest, but stick with it and try a test small .mbtile file first as a test)

I'm looking for a offline solutions for maps, as I'm on programming a mobile application for a region with limited network availability. Now, I've seen, that you already dug quite deep into this topic. Before reinventing the wheel I thought I could ask you for some instructions as I did not find any concrete step by step guide or similar for this things.

As far as I understood, I already got Leaflet working with SenchaTouch2. Found it on a link you supported for github. Am I right, that I need to get some .mbtiles files from mapbox now in order to extract them? Or is there any other options to get the tiles to my local storage?
After downloading them, all I have to do is to reference it locally when creating a layer, right? The only thing to be aware of is the scheme thingy?

In the end I want to have the complete region available offline in 3 or 4 zoom levels.

Just as an information. I skipped the part with mapbox and tilemill. Found a solution with JTileDownloader. It's an Java application and you can specify a bounding box, zoomlevels and a renderer. The program will then download the tiles for you. Super easy.
All you have to do then is specify the local URL in your layer for the map. ==> done.

EDIT: Didn't get it running on a Mac, so I had to use a Windows machine for downloading the tiles.

Hi

Hey,

You've pretty much got the steps correct...if you google search 'tiles mapbox' and click one of those links from google it will take you to a page. If you click share you can see the direct links which you can copy and paste into the safari download manager. Then you can use the mbutil to unarchive (or if I remember correctly, you can just google search .mbtiles and something should come up)

I was already successful using the jTileDownloader to get the desired tiles. And offline maps work perfect. The only issue is that the amount of data is huge! Specially zoom level 17 and 18.

The other option would be to render the map on the mobile device. But I guess there is no proper solution for this, right? I heard of some app for iOS (I think it was offmaps?). In version 2 the developer tried to go this way. But the costumers are complaining about the speed of the app. Are there any hints in this direction?