Class PolylineOptions
The options for a google polyline.
Inheritance
Inherited Members
Namespace:GoogleMaps
Assembly:GoogleMaps.dll
Syntax
public class PolylineOptions : IScriptDescriptorData
Properties
Clickable
Gets or sets a value indicating whether this PolylineOptions is clickable. Indicates whether this Polyline handles click events. Defaults to true.
Declaration
public bool Clickable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Geodesic
Gets or sets a value indicating whether this PolylineOptions is geodesic. Render each edge as a geodesic (a segment of a "great circle"). A geodesic is the shortest path between two points along the surface of the Earth.
Declaration
public bool Geodesic { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
StrokeColor
The stroke color. All CSS3 colors are supported except for extended named colors.
Declaration
public string StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The color of the stroke. |
StrokeOpacity
The stroke opacity between 0.0 and 1.0
Declaration
public float StrokeOpacity { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The stroke opacity. |
StrokeWeight
The stroke width in pixels.
Declaration
public int StrokeWeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The stroke weight. |
ZIndex
The zIndex compared to other polys
Declaration
public int ZIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index. |
Methods
FromScriptData(Object)
Retrieves an instance from script data.
Declaration
public static PolylineOptions FromScriptData(object scriptObject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | scriptObject | The script object. |
Returns
Type | Description |
---|---|
PolylineOptions |
ToScriptData()
Returns the instance as a script data.
Declaration
public IDictionary<string, object> ToScriptData()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |