DrawingManagerOptions Object

An object that contains options to change the settings of the drawing manager.

Name Type Description
drawingBarActions DrawingBarAction Set of buttons to show in the drawing bar.

Example:

var da = Microsoft.Maps.DrawingTools.DrawingBarAction;
manager.setOptions({ drawingBarActions: da.polyline | da.polygon | da.erase });
fillColor string or Color The fill color used for pushpins and polygons.
strokeColor string or Color The stroke color used for polylines and polygons.