Occurs when the user clicked on a marker.


Namespace: AspMap.Web
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Event MarkerClick As MarkerClickEventHandler 
C#
public event MarkerClickEventHandler MarkerClick
C++
public:
 virtual event MarkerClickEventHandler MarkerClick {
    void add(MarkerClickEventHandler value) sealed ;
    void remove(MarkerClickEventHandler value) sealed ;
}
J#
/** event */
public final void add_MarkerClick(MarkerClickEventHandler value);

/** event */
public final void remove_MarkerClick(MarkerClickEventHandler value);
JScript
JScript suports the use of events, but not the declaration of new ones.

Event Data

The event handler receives an argument of type MarkerClickEventArgs containing data related to this event. The following MarkerClickEventArgs property provides information specific to this event.

PropertyDescription
MarkerIndexReturns the index of the marker in the Markers collection;

See Also