iPhone Google offline maps – Hong Kong 香港 and Tokyo 東京

I used GMDL (Google Maps Download) and created a Hong Kong map and a Tokyo City map (around the Yamanote-line 山手線), you can download them on rapidshare:

Hong Kong – 香港
http://rapidshare.com/files/209543569/iPhone_GDML_Google_Offline_Hong_Kong_maps.rar

Tokyo City – 東京都
http://rapidshare.com/files/211314833/iPhone_GMDL_Japan_Tokyo_offline_map.rar
[The old file had some missing tiles (file name had "Yamanote" in it, I've since fixed the problem by repairing existing map directory, please download this new version.]

Simply extract and copy them onto your iPhone’s /var/mobile/Media/Maps/ folder. (Of course, you’ll need a jail broken iPhone and installed OfflineMaps from Cydia.

Once the folders are in place, open OfflineMaps and you should see this:
iPhone Google offline Hong Kong maps
So here, the path of these 2 folders are: /var/mobile/Media/Maps/HK_HongKong and /var/mobile/Media/Maps/JP_TokyoCity

Touch on HK_HongKong and you’ll see this:
iPhone Google offline Hong Kong maps

Touch Link and you’ll see this:
iPhone Google offline Hong Kong maps

Your’re basically done! Now hit the Home button and open the iPhone Maps program!
iPhone Google offline Hong Kong maps

The Hong Kong map will come up, even though you’re not on Wifi (See? No Wifi signal on top.)
iPhone Google offline Hong Kong maps

If you zoom out, you’ll see the limit :) Only Hong Kong available in the HK_HongKong map.
iPhone Google offline Hong Kong maps

Zoom all the way in… this is Lv 1 – building names and MTR exits are shown!
iPhone Google offline Hong Kong maps

Also! You will be able to see your current location if you are within the range of at least 3 cell phone signal receiver! (Normally, if you don’t have a data plan, you can’t see the map and so you can’t see your location. But now, with Offline maps, we can see that cell tower triangulate positioning is actually available to us all! :)

One time after I changed the folder names, Maps couldn’t display the offline maps anymore! I looked into it and found out why – the symlink was still pointing to the old folder. See, this is how offline maps work, when you use iPhone Maps normally with Wifi, it stores caches of map tiles inside:

/private/var/mobile/Library/Caches/MapTiles/

What Offline Maps does is it stores the “permanent cache” files created with GMDL in a separate folder:

/private/var/mobile/Media/Maps/

When you touch on “Link”, it creates a symlink from the

/private/var/mobile/Library/Caches/MapTiles/

folder to the offline permanent cache, so in JP_TokyoCity’s case –
/private/var/mobile/Media/Maps/JP_TokyoCity/

, so if you go to

/private/var/mobile/Library/Caches/MapTiles/

and type

ls -l

, you should see something like this:

MapTiles.sqlitedb -> /var/mobile/Media/Maps/JP_TokyoCity/MapTiles.sqlitedb

. Basically, if your maps doesn’t work, try deleting that link with

rm *

and then redo the process from the beginning.

A detailed tutorial in which I learned from is here. Only sightly outdated for iPhone firmware 2.2 – if you’re downloading your own maps, the new GMDL can convert the maps directly to v2.2, so you don’t need to do the last step of “Mapv4v5Converter”.

A screenshot of the tutorial below:
Host unlimited photos at slide.com for FREE!