I am planning on a map project for hiking on iPhone.
Since the area for hiking may not be covered by mobile network. Therefore, it is necessary to pre-cache the map (Google) of the area.
1) Can MapKit Framework support caching Google Map on iPhone locally ? 2) Can MapKit Framework support to use offline map during GPS-ing ?
Thanks.
With Google Maps on iPhone, you can save a map to help you navigate when you're not connected to the internet.
You can't use Apple Maps offline, so you need to use a different app for navigation if you don't have a connection. As an alternative, you can use offline navigation apps like HERE WeGo or MAPS.ME. You can also download maps for offline use using Google Maps.
Unfortunately no, you cannot cache the google tiles (at least not in iOS 4.x). However, you can use an MKOverlay to create an overlay that displays and caches tiles from another map source like OpenStreetMap. Apple published an example TileMap overlay with their 2010 WWDC videos.
Video from WWDC10 can be found here at hxxt://developer.apple.com/videos/wwdc/2010/ (sorry, can't post more then 1 link).
And here is a link for WWDC10 examples source (including TileMap): http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?code=y&source=x&bundleID=20645
You'll need an Apple account to download this 233 Mb ZIP :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With