/** * Changes the DrawingManager's drawing mode, which defines the type of overlay to be added on the * map. Accepted values are MARKER, POLYGON, POLYLINE, RECTANGLE, CIRCLE, or null. A drawing mode * of null means that the user can interact with the map as normal, and clicks do not draw * anything. * * @param drawingMode */ public final void setDrawingMode(OverlayType drawingMode) { setDrawingModeImpl(drawingMode.value()); }
/** Returns the DrawingManager's drawing mode. */ public final OverlayType getDrawingMode() { return OverlayType.fromValue(getDrawingModeImpl()); }