Bing 地图 Silverlight 控件:如何显示太阳的足迹?
我有太阳的纬度、经度和高度,但我不知道如何显示太阳在特定时间的足迹,如 http://www.karhukoti.com 和 http://www.timeanddate.com/worldclock/sunearth.html。
有人可以帮忙吗?
谢谢。
编辑:
我下载了 JSatTrak 的源代码并尝试实现 drawFootPrint 和 getFootPrintPolygons 没有运气。
I have the Sun's latitude, longitude, and altitude but I don't know how to display the Sun's footprint in a particular time as in
http://www.karhukoti.com and
http://www.timeanddate.com/worldclock/sunearth.html.
Can someone please help?
Thanks.
Edit:
I downloaded the source code for JSatTrak and tried to implement the drawFootPrint and getFootPrintPolygons with no luck.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它本身并不是 Bing 地图的一部分 - 您必须自己对其进行编程。但从它的外观来看,似乎您所需要的只是一种算法来确定足迹的宽度/高度和角度(好吧,可能是黑暗),然后只需在路径几何体上添加动画即可移动它。
It's not natively a part of Bing Maps - you have to program it in yourself. But from the looks of it, it appears all you need is an algorithm to determine the width/height and angle of the foot print (well, probably the darkness instead) and then just have an animation on a path geometry to move it.