Click event / hittest on shapes

Jul 1, 2009 at 2: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?


Jul 1, 2009 at 5: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:

Jul 1, 2009 at 5: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!