简体   繁体   English

必应地图Silverlight控件:如何显示太阳的足迹?

[英]Bing Maps Silverlight Control: How do I Display the Sun's Footprint?

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 . 我具有太阳的纬度,经度和海拔高度,但是我不知道如何在特定时间显示太阳的足迹,例如http://www.karhukoti.comhttp://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. 我下载了JSatTrak的源代码,并尝试实现drawFootPrintgetFootPrintPolygons ,但是没有运气。

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. 但是从外观上看来,您所需要的只是一个算法来确定足迹的宽度/高度和角度(嗯,可能是黑暗),然后在路径几何图形上制作动画来移动它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM