View Full Version : pushpins in manually drawn shape

12-02-2006, 11:15 AM

Is it possible to retrieve the pushpins on the map which are within ie. a circle drawn by the user on the map with the scribble tool?

12-02-2006, 01:34 PM

Yes easy to do. You use SelectionChange event witch is called after a user has drawn a shape. There you check eventually if it is a circle. Then you can use QueryShape to get back the record set that is in the shape.

I dont know your application, but it is maybe better to let the user click a button of your own to select, then draw the shape yourself (MouseDown etc)