Class MapEventArgs
Class for containing map's event data.
Inheritance
System.Object
System.EventArgs
MapEventArgs
Inherited Members
System.EventArgs.Empty
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 MapEventArgs : EventArgs, IScriptDescriptorData
Properties
Bounds
Gets the map bounds.
Declaration
public Bounds Bounds { get; protected set; }
Property Value
Type | Description |
---|---|
Bounds | The bounds. |
Center
Gets the map center.
Declaration
public LatLng Center { get; protected set; }
Property Value
Type | Description |
---|---|
LatLng | The center. |
MapType
Gets the type of the map.
Declaration
public MapType MapType { get; protected set; }
Property Value
Type | Description |
---|---|
MapType | The type of the map. |
Zoom
Gets the map zoom.
Declaration
public int Zoom { get; protected set; }
Property Value
Type | Description |
---|---|
System.Int32 | The zoom. |
Methods
FromScriptData(Object)
Retrieves an instance from script data.
Declaration
public static MapEventArgs FromScriptData(object scriptObject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | scriptObject | The script object. |
Returns
Type | Description |
---|---|
MapEventArgs |
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> |