Few Questions on Deep earth

Sep 4, 2008 at 10:35 PM
It will be great if someone answers some of my questions.

1. How do we convert the latlong to points in a canvas, to place the polygon or pushpin. Basically we will get the latlong to place the pushpin, but we need to convert it to points inoder to do that. Is this something thats already available?
2. How do we add a callout to show extra information about that location where the pushpin is added to the canvas?

Please share your thoughts.

Thanks

Developer
Sep 5, 2008 at 12:32 AM
1. How do we convert the latlong to points in a canvas, to place the polygon or pushpin. Basically we will get the latlong to place the pushpin, but we need to convert it to points inoder to do that. Is this something thats already available?

if you look in the downloaded source code in the "DeepEarth.VE" project
you will find a class called "Projection"

in that class there are a bunch methods, two of them are called 

"LatitudeToYAtZoom"

and "LongitudeToXAtZoom"

these to methods might be what your after...

2. How do we add a callout to show extra information about that location where the pushpin is added to the canvas? 

http://www.codeplex.com/deepearth/Thread/View.aspx?ThreadId=34942&ANCHOR#Post116192
I made a post there on how I made a push pin with a call out