How to Display offline map in iphone using Mapkit

2020-07-11 07:20发布

How to Display offline map in iphone using mapkit? if i use static image then how do i get current location and pin drop on it? anyone has idea please suggest some solution.

Thank you.

3条回答
老娘就宠你
3楼-- · 2020-07-11 08:19

In iOS4+, you can use an image MKOverlay to overlay whatever you want on top of a MapKit map. You can provide a semi-transperant base map of your own providing to display when the underlying Google Map can not be loaded. But you can not control what MapKit is doing under the hood caching Google maps.

查看更多
叼着烟拽天下
4楼-- · 2020-07-11 08:22

Try this post Force MapKit use cached map tiles only/disable network programmatically

It tells about open source map OSM , helps offline map browsing.

Source from here http://developers.cloudmade.com/projects/show/iphone-sdk.

Hope this helps , or r u looking for some thing else.

查看更多
登录 后发表回答