2015-02-05 64 views
0

我正在使用Apple的MapKit的iOS应用程序,我需要从获得海拔变化点AB点MapKit是否提供高程数据?

我知道CLLocation有一个altitude属性,但它只会给你根据你的当前位置的海拔高度,而我需要从一个位置获得一定范围内的高度点到下一个位置。

到使用谷歌地图+谷歌海拔API此Web应用程序类似:

http://gmaps-samples-v3.googlecode.com/svn/trunk/elevation/elevation-profile.html

+0

Elevation data is now part of the API,see [this answer](http://stackoverflow.com/a/39102624/386738) – Daniel 2016-08-23 13:47:19

+0

[Detecting location in air](http://stackoverflow.com) /问题/ 39102169 /检出-位置 - 空气) – Daniel 2016-08-23 13:57:39

回答

相关问题