Class DrawingPolylineOptions
Options to apply to any new polylines created with this DrawingManager.
Inheritance
Inherited Members
Namespace:GoogleMaps.Drawing
Assembly:GoogleMaps.dll
Syntax
public class DrawingPolylineOptions
Properties
Clickable
Indicates whether this Polyline handles mouse events. Defaults to
true
.
Declaration
public bool Clickable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Draggable
If set to true, the user can drag this shape over the map. The geodesic
property defines the mode of dragging. Defaults to false
.
Declaration
public bool Draggable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Editable
If set to true, the user can edit this shape by dragging the control points shown at the vertices and on each segment. Defaults to false
.
Declaration
public bool Editable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Geodesic
When true, edges of the polygon are interpreted as geodesic and will follow the curvature of the Earth.
When false, edges of the polygon are rendered as straight lines in screen space. Note that the shape of a geodesic polygon may appear to change when dragged, as the dimensions are maintained relative to the surface of the earth.
Defaults to false
.
Declaration
public bool Geodesic { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
StrokeColor
The stroke color. Default to
System.Drawing.Color.Blue
Declaration
public Color StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
StrokeOpacity
The stroke opacity between 0.0 and 1.0. Defaults to 0.5
Declaration
public float StrokeOpacity { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
StrokePosition
The stroke position. Defaults to Center. This property is not supported on Internet Explorer 8 and earlier.
Declaration
public StrokePosition StrokePosition { get; set; }
Property Value
Type | Description |
---|---|
StrokePosition |
StrokeWeight
The stroke width in pixels. Defaults to 5.
Declaration
public int StrokeWeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Visible
Whether this circle is visible on the map. Defaults to
true
.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ZIndex
The zIndex compared to other polys.
Declaration
public int ZIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |