drag and select with a mouse on the map

Topics: WinForms Controls
Jul 1, 2009 at 2:48 AM

We started a project of GIS. We concentrate on the part of diaplay now. We have the idea of interaction between user and computer , so the select part is necessary. We want to drag and select with a mouse on the map but I got confussed with sharpmap , no matter the demo or something , i can't decide whether sharpmap is able to do this , so is it possible to implement this with sharpmap?

Coordinator
Jul 1, 2009 at 9:28 AM

Hi Ray_Z check out the Tools.Query options in MapImage and MapBox they will allow you to determin the geometries which intersect a dragged area. You can then either add the resulting geometries as a new temporary layer or you could use a Theme to render the matching geometries in the original layer differently. hth jd

Jul 2, 2009 at 8:32 AM

Hi jd ,thx for ur advices, i wil try it and see if it can work.

thx again.