问题
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