The ShapeLayer type exposes the following members.
Determines the current layer's mode.
Whether the current shape is invalid and needs to be removed (set when changing states).
Gets the map that the shaper layer is being rendered on.
Determines when the entities will be rendered on the map.
Gets and sets the current selected entity.
Used to change the state, and fire any necessary events.