Guys,
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?
This is a discussion on pushpins in manually drawn shape within the MapPoint Desktop Discussion forums, part of the Map Forums category; Guys, Is it possible to retrieve the pushpins on the map which are within ie. a circle drawn by the ...
Guys,
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?
Hi,
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)
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
There are currently 1 users browsing this thread. (0 members and 1 guests)