This is a migrated thread and some comments may be shown as answers.

Activating rectangle selection on map without holding Shift key

2 Answers 16 Views
Map
This is a migrated thread and some comments may be shown as answers.
Sayyed Hossein
Top achievements
Rank 1
Sayyed Hossein asked on 13 Aug 2016, 07:54 AM

I was Wondering if there was a way to Activate rectangle selection on map without holding Shift key. like by pressing a toggle button and then click-moving the mouse on the map.

the actual scenario is using rectangle selection on a touch screen with no keyboard

2 Answers, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 16 Aug 2016, 09:23 AM
Hi Sayyed,

You can play with the MouseDragMode property of the RadMap:
this.radMap.MouseDragMode = MouseDragBehavior.Select;

Let us know if this fits well in your scenario.

RadMap Click Modes

Regards,
Petar Mladenov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Sayyed Hossein
Top achievements
Rank 1
answered on 22 Aug 2016, 04:59 AM
Thank you very much! worked great :)
Tags
Map
Asked by
Sayyed Hossein
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Sayyed Hossein
Top achievements
Rank 1
Share this question
or