Class MarkerEventArgs
Class for containing marker event data.
Inheritance
System.Object
System.EventArgs
MarkerEventArgs
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.Markers
Assembly:GoogleMaps.dll
Syntax
public class MarkerEventArgs : EventArgs, IScriptDescriptorData
Properties
Index
Gets the marker index.
Declaration
public int ? Index { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The index. |
Position
Gets the marker position.
Declaration
public LatLng Position { get; }
Property Value
Type | Description |
---|---|
LatLng | The position. |
Methods
FromScriptData(Object)
Retrieves an instance from script data.
Declaration
public static MarkerEventArgs FromScriptData(object scriptObject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | scriptObject | The script object. |
Returns
Type | Description |
---|---|
MarkerEventArgs |
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> |