TextBox for Annotation

May 1, 2009 at 4:07 PM
I would like to provide the ability to do annotation on the displayed map. I can do it now by adding a new textbox in Canvas control. but I really want to hook it up with the geometrics class structrue that DeepEarth has so that the textbox will behave just like pins and other geometric shapes. Thank you for any guidance.
May 1, 2009 at 4:19 PM
maybe you could make a new CustomPin class

this can have a TextBox or TextBlock in the style for your CustomPin class

then you could use the point x & y properties in it to set the location to display the custompin.

look here
you can update it to add the textbox etc
May 23, 2009 at 1:09 AM

I finally got a chance to work on it. After few hours, I could add text box at where the mouse was clicked. Thank you so much for the help!