Offline map from sdk
In my application i have a Mk开发者_高级运维Mapview and now it shows current location. i have to bookmark some other locations and show that locations even if there is no Wi-Fi connection. How to bookmark that locations and how to display the offline maps? how to save map to cache? is it possible? Thanks,
As far as I know, there is no public available API for caching the map images used by MKMapView. You might also be in violation of Googles terms and conditions by doing this.
However, Google have provided a static map API where you can grab a static portion of a map as an image file and possible cache this for later display. But again, check Google's T&C.
There are a number of other map services available through the GData API, but they are somewhat more complex to use. This SO question, shows a few hints on how to use these API's.
精彩评论