Select to view content in your preferred language

Drawing fixed aspect ratio Rectangle in GraphicsLayer

849
0
08-23-2011 07:30 AM
MartynLe_Butt
Deactivated User
I'm trying to allow the user to click anywhere on a map and then draw a Rectangle in order for them to define an area(extent) for use down the line. However the rectangle must always be a fixed aspect ratio and the user must only be allowed to move and resize the rectangle while maintaining this ratio.
Have looked at DrawTool and EditTool but can't see how to restrict the drawing to fixed ratio so any advice would be very welcome!
Thanks
Tags (2)
0 Kudos
0 Replies