如何从 bing 地图获取观看高度或俯仰角?
我正在使用 Bing 地图中的 v7.0 Ajax 控件,并且在地图上处于鸟瞰模式时尝试获取以下信息:
查看高度(或海拔高度)——这是缩放级别,对吗?
俯仰角 - 无论处于鸟瞰模式时的视角如何,俯仰角是否始终具有相同的值?
谢谢。
I am using the v7.0 Ajax control from Bing Maps and I'm trying to get the following information while being in the bird's eye view mode on the map:
the viewing height (or altitude) -- this is the zoom level, right?
the pitch angle -- does this always has the same value, no matter of the viewing angle while being in the bird's eye view mode?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不存在创建投影地图图像的“高度”这样的东西。地图比例和分辨率(即每个屏幕像素对应多少米)根据缩放级别和地球表面的位置而变化,但这与您俯视时获得的视图无关从地球上方 x 米处观察地球。
鸟瞰图像的拍摄角度在不同场景中有所不同 - 您可以在平移地图时观察到这一点 - 当您从一个场景移动到下一个场景时,图像会明显扭曲。
There is no such thing as the "altitude" at which a projected map image is created. There is a map scale and resolution (i.e. how many metres each screen pixel corresponds to) which varies according to the zoom level and the location on the earth's surface, but this does not correlate to the view you would get if you were looking down at the earth from x metres above it.
The angle at which Bird's eye imagery is shot varies in different scenes - you can observe this as you pan around the map - the imagery will clearly warp as you move from one scene to the next.