views:

123

answers:

1

Hello,

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.

+2  A: 

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.

WinnerWinnerChickenDinner
Thank you @TLCo but actually I'm having trouble with all what you have mentioned. Can you please see the Edit in my original question.
bahith