Find clicked elements on drawing

Mar 11, 2015 at 9:51 AM
Edited Mar 11, 2015 at 10:05 AM
Hi,
I'm trying to find the elements clicked (OnMouseUp event) for points and lines drawn on a drawing layer (not Shapefile layer). Could not find the way to do it.

I use VB6

Any pointers?

Thanks,

Elad
Mar 11, 2015 at 9:00 PM
For a ShapeFile layer I understand that one may use the SelectShapes method but I don't see how to do it with a drawing layer.

Thanks,

Elad
Developer
Mar 12, 2015 at 1:11 PM
AFAIK there is no such built-in functionality. If your drawing layer is spatially referenced I'd suggest to use in-memory shapefile as a substitute. Please check this sample to get the idea on how to create and populate it.
Mar 12, 2015 at 3:43 PM
Edited Mar 12, 2015 at 3:46 PM
Thank you @sleschinski. Will check it out.