|
|||||||||
|
|||||||||
|
|||
|
i see, good point,
give i am a complete n00bie at this, how would i do this using cuteftp (the only method i know to work reliably to ssh to my iphone)? can you post some steps on doing this symlink (as well as undoing it)? i am not keen of using any terminal command. please be explicit. also, even if you delete everything in the cache folder, are you sure the symlink relationship is completely reversed by the iPhone OS? i thought the pointer setting (the target) of the symlink would still be there, it is just that it cannot find anything to link to so it just gives up. is there a "unsymlink" command? thanks in advance for your help. Last edited by to1337ca; 08-17-2008 at 05:42 PM. |
|
||||
|
If you look at previous posts you will realize that I also have very little knowledge of unix commands. I am not entirely sure whether deleting everything in the cache folder will completely reverse everything you do with symlinks, I just know that Maps will work just as it did before if you do. Basically the symlink method works great for me, but when I reach an area that has not been downloaded before and it starts to download, then the cache stops working. What I'm having to do every time that happens is re-issue the symlink command in terminal, which is a bit time consuming. What Touchcmd does is let you save that command, so that everytime i need to redo the symlink its just a few button presses. I will re-phrase volkspost's method.
SFTP into /private/var/mobile/Library/Caches/MapTiles and delete anything inside. Then copy the custom map (like MapTiles.sqlitedb.nyc) inside this folder. Make sure the file has 644 permission, if not change it I use MobileTerminal for commands, but you can use Terminal (Mac) or PuTTY (Windows) you can get MobileTerminal from Cydia. Type: cd /private/var/mobile/Library/Caches/MapTiles/ then press enter Type: ln -s MapTiles.sqlitedbnyc MapTiles.sqlitedb Note that the first letter is small cap L, not I or 1. And remember the spaces. In TouchCMD you will be able to save those commands so that it is only a few button presses. |
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
Just to add one thing here: You can just delete the complete MapTiles folder with all of it's content and you will be back to factory settings. Next time you start Maps it will create the folder and content new (MapTiles.sqlitedb contains the location cache then of the area you just visited).
The whole symlink trick is pretty simple. Maps looks for that cache in the file called MapTiles.sqlitedb. usually in there are the maps for the location(s) you visited the last time using Maps. By deleting this original (the "real" cache file) and creating a symlink (like an alias in Mac OS X) with this name (MapTiles.sqlitedb) that is pointing (opening) a custom map cache, you trick Maps. As Dhalilahma pointed out: the backdrop is, whenever you want to use a different "premade" location (a custom map cache file) you have to symlink this one to MapTiles.sqlitedb to make it work. In a no-limit-ram-world you would create a custom map cache file of the complete world and do a symlink once - done forever. Since this is more than future talk a solution with a GUI that would let you just point-click to the location you want to use and create the symlink would be the best solution indeed.
__________________
Read the stickies and search the forum before posting! If you want to become a Hackint0sh supporter click here ---------- iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB) iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB |
|
|||
|
i just gave it a brief try. Seems not to work. I have looked up a short route around my location, just two blocks. It's saved in the Maps cache file then. After that I shut off any data connection on the iPhone and tried to route again - no way. Should be the same with custom made maps. i guess once you search and route Maps needs at least some internet information like transforming an address into lon and lat.
__________________
Read the stickies and search the forum before posting! If you want to become a Hackint0sh supporter click here ---------- iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB) iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB |
| Sponsored links Remove advertisements | |
|
|
|
|
|
||||
|
We need a native app with built in offline search feature and routing algorithm. Otherwise I don't see the point of putting a very lage sqlite database when a jpg image would effectively perform the same job.
__________________
iPhone (OTB 1.1.1 / Currently 3.1) Unlock, activation, jailbreak: PwnageTool 3.1 City Fido, Vancouver Last edited by TwistyValhalla; 08-18-2008 at 12:50 AM. |
|
|||
|
excellent point, rumors have it that tomtom is making an app for this.
in the meantime, however, this is a viable solution, if only the kinks has been worked out. even without the routing function, the current location functionality with agps is enough of interest to many users to deserve attention. |
|
|||
|
for those who are trying out the offlinemaps on cydia, can you please report your feedback on whether or not your map apps slows down or freezes if you turn on GPS or wireless and locate your current location?
in other words, is your offlinemaps working when you are using your GPS function? |
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
I use an iPhone 3G and while with my 2G everything's just fine, mapsoffline just crashes on me with the 3G...is there any news or a solution for the 3G?
Thanks! PS: In which repo I get "TouchCMD" ? Last edited by Numl0ck; 08-28-2008 at 02:34 PM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.hackint0sh.org/f126/22320.htm
|
||||
| Posted By | For | Type | Date | |
| jasonkit - Google Code | This thread | Refback | 01-14-2009 07:12 PM | |
| Global Map Download Tool - Wikibooks, collection of open-content textbooks | This thread | Refback | 01-14-2009 06:59 PM | |
| Tips and Tricks iPhone Software | This thread | Refback | 01-14-2009 11:57 AM | |
|
|