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

Resizable Rectangle

3 Answers 16 Views
Map
This is a migrated thread and some comments may be shown as answers.
Geoffrey
Top achievements
Rank 1
Geoffrey asked on 05 Dec 2012, 08:10 PM
Hello, I'm looking to allow our users to draw a resizable rectangle on the RadMap to specify a particular area. Any tips on how this could be accomplished?

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 07 Dec 2012, 04:23 PM
Hi Geoffrey,

I have attached a sample solution which allow users to draw a rectangle using mouse events.
I hope this gets you started.

All the best,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Geoffrey
Top achievements
Rank 1
answered on 07 Dec 2012, 10:38 PM
Your example helps a lot and gets me about halfway there. I'm looking to allow the user to resize the rectangle after they draw it, possibly by using some kind of adorner? Is there anything built in to support this or should I write a custom implementation?

Thanks,
Geoff
0
Andrey
Telerik team
answered on 12 Dec 2012, 12:18 PM
Hello Geoffrey,

Unfortunately there is not built in functionality which support your scenario. You have to write a custom implementation for this one.

Regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Map
Asked by
Geoffrey
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Geoffrey
Top achievements
Rank 1
Share this question
or