This project is read-only.

Find clicked elements on drawing

Mar 11, 2015 at 10:51 AM
Edited Mar 11, 2015 at 11:05 AM
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?


Mar 11, 2015 at 10: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.


Mar 12, 2015 at 2: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 4:43 PM
Edited Mar 12, 2015 at 4:46 PM
Thank you @sleschinski. Will check it out.