張貼日期:Jun 09, 2011 2:8:15 AM
參考
Android:
http://android-map.blogspot.com/:
Rmaps, 星跡地圖, 地圖製作
iPhone/iPad: (都需 JB, 安裝 iFile, 使用 iFunBox 將離線圖資傳到 iPhone/iPad)
http://blog.rewolf.org/2010/12/android-offline-google-maps.html: Galileo (使用離線地圖需付費)
直接使用 iPhone/iPad 的地圖程式, 將離線地圖放在 cache, 先看下面這篇
http://www.backpackers.com.tw/forum/showthread.php?t=352843
offline map 上的討論
需要的程式:
* 概念: GMDL 是抓 google map 圖資的程式, 因為很久沒更新了, 所以轉出來的格式對新版 iOS 不吃...
所以需要做一些 patch 或者 轉換的動作
http://www.in7ane.com/ :GMDL 地圖下載
http://blog.gpstrails.info/2010/11/quick-fix-for-global-map-downloader.html: GMDL 64-bit fix
GMDL ip4 v10 hack.rar
176 KB Download
http://imapsmanager.ru/mapConverter/mapConverter_eng.htm : Mapv4v5Converter (只有 128x128 tiles 的可用)
* 概念:不同的 iOS, 其離線地圖的 cache 檔案, MapTiles.sqlitedb 有不同的儲存方式與版本 :<
在 iPhone4/iPad 需做以下步驟:
1. 用 iFunBox 將 /var/mobile/Library/Caches/Map/MapTiles/MapTiles.sqlitedb 抓到 PC, 在 firefox 下安裝 sqlite manager plugin
https://addons.mozilla.org/en-US/firefox/addon/5817/
2. 開啟 sqlite manager plugin, connect database, 選擇剛才傳到 PC 的 MapTiles.sqlitedb
3. 選擇 version 這個表格, 觀察 version 和 locale 欄位, 記錄下來, 等下需修改自己下載的圖資 sqlitedb 檔案
ex. iPad 4.3.3 OS: version = 11.480
iPhone 3G 4.3.1 OS: version = 11.0
locale = zh_TW
iPhone 3G, OS 4.3.1:
將 GMDL 得到的 sqlitedb, 用 Mapv4v5Converter 轉換, 之後修改 version 便可使用
iPad OS 4.3.3:
需安裝 GMDL ip4 v10 hack.rar, 詳細參考 offline map 上的討論
Copy "Global Map Download Tool.exe" into the /bin/debug folder of your GMDT install. Copy "iPhoneF.cs" and "iPhoneF.Designer.cs" into the /bin folder of your GMDT install. Now just used GMDT like you normally would. Select your maps and download them. When you are at the step where you convert them to iPhone format you will notice a new option "fw 4 (v10. 256x256)" that has been pre-selected for you.
轉換後用 sqlite manager 將 version 改掉便可
轉換後