Offline maps with routing for a particular place

陌路散爱 提交于 2020-01-04 03:03:11

问题


I want to present offline map in my app.How can i implement it...? I have gone through some of the links but i am not getting it how to start with it.

How to cache Google map tiles for offline usage?

http://mapbox.com/mapbox-ios-sdk/

which offline maps is better for iphone

Route-Me Offline Maps from Document Root

Please help me to find the right way.

Thanks in advance.


回答1:


If you need just offline maps then go with Open Street Maps. There's Rout-me project with demo source. Code examples dowload bitmap tiles from Open Street maps server and caches in sqlite database.

Regarding Mapbox, it does not have offline routing. Routing requires internet. I already did some research several month ago, and I was unable to find any stable offline routing solutions.




回答2:


There are several stable offline routing systems which use OSM data. See http://wiki.openstreetmap.org/wiki/Routing.



来源:https://stackoverflow.com/questions/16411770/offline-maps-with-routing-for-a-particular-place

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!