Envelope selection

Topics: Web Controls
Jul 1, 2010 at 11:03 AM

Hello

I need to render (or select) an envelope (rectangle) on client side (left mouse down - drag to select an envelope - mouse up). Then get envelope coordinates on server side. I didn't find a functionality to select an envelope on client side. Does SharpMap provide this functionality? If not, please point the way how to implement that.

Coordinator
Jul 1, 2010 at 1:13 PM

Hello manul,

if you look at MapBox control of the SharpMap.UI project, you'll find a Tool that lets you pick the visible envelope. It ensures that all of the selected area is visible, so if your control proportions do not match your selection, you'll get more than you wanted.

Hth FObermaier