JavaScript Draw Toolbar - Rectangle: Behaviour like desktop

Idea created by ad_giles@hotmail.com on Nov 11, 2016
    New
    Score10
    • ad_giles@hotmail.com

    I would like to see the rectangle option in the JavaScript draw toolbar mimic that of drawing a polygon in desktop, in that it is a 3 click operation, allowing you to draw the rectangle at any angle to the map i.e. You start by drawing a base line then extend the height out from that line.

     

    The current JavaScript method is exactly the same as drawing an extent, click and drag the area which can only be square to the map, the only difference is that it returns a polygon object not an extent object.