Show / Hide Table of Contents

Class PolylineOptions

The options for a google polyline.

Inheritance
System.Object
PolylineOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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

true if clickable; otherwise, false.

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

true if geodesic; otherwise, false.

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>
Implements
IScriptDescriptorData.ToScriptData()
Back to top Copyright © 2017 GoogleMapControl
Generated by DocFX