MapKit Show Entire Globe

白昼怎懂夜的黑 提交于 2019-12-02 22:31:49

问题


I am trying to draw the entire globe inside my MKMapView. By pinching to zoom out I am limited to zooming out to a certain level. I would like to be able to zoom out past this level to show the entire globe on the map. This doesn't seem like it would be very difficult, but I have been unable to find any solution.


回答1:


The map inside an MKMapView doesn't repats on the sides, so you can't zoom out far enough to view the whole world. Solution: Write your own renderer (very hard task, working with coordinates on a surface like the earth is a pain).



来源:https://stackoverflow.com/questions/4973645/mapkit-show-entire-globe

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