Class ScaleControlOptions
Options for the rendering of the scale control.
Inheritance
System.Object
ScaleControlOptions
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 ScaleControlOptions : 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. |
Style
Gets or sets the style.
Declaration
public ScaleControlStyle Style { get; set; }
Property Value
Type | Description |
---|---|
ScaleControlStyle | The style. |
Methods
FromScriptData(Object)
Retrieves an instance from script data.
Declaration
public static ScaleControlOptions FromScriptData(object scriptObject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | scriptObject | The script object. |
Returns
Type | Description |
---|---|
ScaleControlOptions |
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> |