Currently the drawn feature sample has support for lines, circles and polygons. Polygons are free-hand shapes, is it possible to create a rectangle by clicking a corner and dragging to the opposite corner. This would allow for greater accuracy when creating rectangles on the map.
Thanks,
James R.