Annotating MKMapView in offline mode

大兔子大兔子 提交于 2019-12-25 08:06:17

问题


In my application, I have a map view displaying nearby locations in a regeon. I can annotate my current location and other fixed locations in the map when the application be in online. The User would change his location(he is travelling),and some time he would be in offline mode. Is there any way to display his current location in map in offline mode? I could display the all other fixed locations already pinned into map.


回答1:


Its not possible to display pins in off line mode. When I added pin in on line and if the application goes off line, I can view the pins but when the map were refreshed, (like going to next view and coming back), I cant see the pins any more. I then used CloudMade maps.



来源:https://stackoverflow.com/questions/9272572/annotating-mkmapview-in-offline-mode

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