Add
Left-click points in the polygon. Double click, right click, or click the starting point to close the polygon.
Left click-and-drag or left click opposite corners to draw a rectangle.
Left click to create a point.
Left-click points in the line. Double click, right click, or click the starting point to end the line.
Created Annotations
Sample

This example shows how to add annotations, such as marked rectangles, to a map.