Bing Maps Silverlight Control: How to display the sun trail?

I have the latitude, longitude, and height of the Sun, but I don’t know how to display the Sun’s trail at specific times, as in http://www.karhukoti.com and http://www.timeanddate.com/worldclock/sunearth.html .

Can anybody help?

Thanks.

Edit:

I downloaded the JSatTrak source code and tried to implement drawFootPrint and getFootPrintPolygons with no luck.

+4
source share
1 answer

This is not part of Bing Maps - you need to program it in yourself. But, in appearance, it seems that all you need is an algorithm for determining the width / height and print angle of the foot (well, probably darkness), and then just an animation along the geometry of the path to move it.

+2
source

All Articles