Class PanControlOptions
Options for the rendering of the pan control.
Inheritance
System.Object
PanControlOptions
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 PanControlOptions : IScriptDescriptorData
Properties
Position
Position id. Used to specify the position of the control on the map. The default position is TOP_LEFT.
Declaration
public ControlPosition Position { get; set; }
Property Value
Type | Description |
---|---|
ControlPosition | The position. |
Methods
FromScriptData(Object)
Retrieves an instance from script data.
Declaration
public static PanControlOptions FromScriptData(object scriptObject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | scriptObject | The script object. |
Returns
Type | Description |
---|---|
PanControlOptions |
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> |