MapKit是否提供高程数据? [英] Does MapKit provide elevation data?

查看:94
本文介绍了MapKit是否提供高程数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Apple的 MapKit a>,我需要获得从 A点升级到 B点的高程变化。我知道< a href =https://developer.apple.com/library/mac/documentation/CoreLocation/Reference/CLLocation_Class/index.html#//apple_ref/occ/instp/CLLocation/altitude =nofollow> CLLocation 有一个高度属性,但它只会给你一个基于你当前位置的高度,而我需要从一个位置到下一个位置获得一系列高度点位置。



与使用Google地图+ Google Elevation API的此网络应用类似:
$ b < a href =http://gmaps-samples-v3.googlecode.com/svn/trunk/elevation/elevation-profile.html =nofollow> http://gmaps-samples-v3.googlecode.com/ SVN /主干/仰角/ elevation-profile.ht ml

解决方案

MapKit不会给你这个,但你可以使用免费的MapQuest API


I am working on the iOS app that uses Apple's MapKit and I need to obtain elevation change from Point A to Point B.

I do know that CLLocation has an altitude property but it will only give you an altitude based on your current location, whereas I need to get a range of altitude points from one location to the next location.

Similar to this web app that uses Google Maps + Google Elevation API:

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

解决方案

MapKit won't give you this, but you could use the free MapQuest API.

这篇关于MapKit是否提供高程数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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