How to Display offline map in iphone using Mapkit

和自甴很熟 提交于 2019-12-12 08:49:16

问题


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.


回答1:


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.




回答2:


Similar to What SDKs can be used for creating offline maps application for iPad/iPhone?




回答3:


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.



来源:https://stackoverflow.com/questions/2323882/how-to-display-offline-map-in-iphone-using-mapkit

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