gmap dragging using left mouse button

Sudhakar Tillapudi picture Sudhakar Tillapudi · Oct 26, 2013 · Viewed 8.2k times · Source

I'm using the gmap.net control to display the maps on windows forms.as of now everything works fine except the map dragging functionality.in general map dragging is supported with Left-Mouse Button , but in gmap.net control dragging is supported with Right-Mouse button.

Here my question is : Is there any way by which I can achieve the Map Dragging functionality using Left-Mouse Button.

Please Help Me.

Thanks in Advance.

Answer

Sudhakar Tillapudi picture Sudhakar Tillapudi · Oct 27, 2013

I have found the answer, it is just setting the DragButton property of GMAP control

MainGMap.DragButton = MouseButton.Left;