This sample shows how to freehand draw a polygon on the map using a mouse or touch.
The drawing a polygon with the Drawing Tools requires clicking each point on the map where you want a waypoint.
With this sample, simple press and drag around the map to create a polygon.
This is much more user friendly if users need to draw polygons in mobile apps.