Click event / hittest on shapes

Jul 1, 2009 at 1:34 PM

Hi Josh,

I use the PushPinInfo and LabelInfo classes to add images and labels on the map with myMap.GlobeControl.Host.Geometry.AddGeometry(...). At some point I want to remove these with say a double click on the added geometry. Is there any event handler implemented that allows me to do this? I see there is A PushPinInfo.HitDetect property. How can I use it?

Also where can I get documentation (.chm file for example) on the Microsoft.Mappoint assemblies referenced?

thanks

Coordinator
Jul 1, 2009 at 4:26 PM

You'll have to reference the VE3D documentation about the HitDetect property.  And to answer your second question, that documentation can be downloaded from here:

http://blogs.msdn.com/virtualearth3d/archive/2009/01/25/documentation.aspx

Jul 1, 2009 at 4:50 PM

Thanks, I had downloaded but couldn't get the .chm to work so got desperate. Just hadn't read about the "Unblock" issue on Vista!