MapKit显示整个地球仪 [英] MapKit Show Entire Globe

查看:119
本文介绍了MapKit显示整个地球仪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在MKMapView中绘制整个地球。通过捏缩小,我只能缩小到一定程度。我希望能够缩小这个级别,以便在地图上显示整个地球。这似乎不是很困难,但我一直无法找到任何解决方案。

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.

推荐答案

里面的地图 MKMapView 不会在侧面重新编辑,因此您无法缩小到足以查看整个世界。
解决方案:编写自己的渲染器(非常困难的任务,在地球表面上使用坐标是一种痛苦)。

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).

这篇关于MapKit显示整个地球仪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆