KeyĬompletes any drawing that is in progress and sets the drawing mode to idle. These keyboard shortcuts are functional when the map is in focus. The drawing tools support keyboard shortcuts. Press down the left mouse button, or touch-down on the map to add the center of the circle and drag give the circles a radius.The generated shape will follow the extended GeoJSON specification for circles. When the drawing manager is in draw-circle mode, the following actions can be done to draw points on the map, depending on the interaction mode. Press down the left mouse button, or touch-down on the map to add the first corner of the rectangle and drag to create the rectangle.
The generated shape will follow the extended GeoJSON specification for rectangles. When the drawing manager is in draw-rectangle mode, the following actions can be done to draw points on the map, depending on the interaction mode.
These methods work with all interaction modes. When the drawing manager is in draw-point drawing mode, the following actions can be done to draw points on the map. The next sections outline all the different ways that shapes can be drawn on the map. Or, switch to an idle state by clicking the current drawing modes button on the toolbar. Programmatically set the drawing mode to an idle state. The drawing mode stays enabled, even after a shape has been drawn, making it easy to draw additional shapes of the same type. This setting can be programmed, or invoked by pressing one of the drawing buttons on the toolbar.