MapClientEvents
Defines the client events handlers.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class MapClientEvents : StateManager, IMarkableStateManager, IStateManager, IDefaultCheck
Inheritance: objectStateManagerMapClientEvents
Implements:
Inherited Members
Constructors
public MapClientEvents()
Properties
Specifies whether the implementing object has default values.
public bool IsDefault { get; }
Implements:
Fired immediately before the map is reset. This event is typically used for cleanup by layer implementers.
public string OnBeforeReset { get; set; }
Gets or sets the client-side script that executes when a RadMap client-initialize event is raised.
[ClientControlEvent]
[ClientPropertyName("initialize")]
public string OnInitialize { get; set; }
Gets or sets the client-side script that executes when a RadMap client-load event is raised.
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnLoad { get; set; }
Fired when a marker has been displayed and has a DOM element assigned.
public string OnMarkerActivate { get; set; }
Fired when a marker has been clicked or tapped.
public string OnMarkerClick { get; set; }
Fired when a marker has been created and is about to be displayed. Cancelling the event will prevent the marker from being shown.Use markerActivate if you need to access the marker DOM element.
public string OnMarkerCreated { get; set; }
Fired when the map is reset. This typically occurs on initial load and after a zoom/center change.
public string OnReset { get; set; }
Fired when a shape is clicked or tapped.
public string OnShapeClick { get; set; }
Fired when a shape is created, but is not rendered yet.
public string OnShapeCreated { get; set; }
Fired when a GeoJSON Feature is created on a shape layer.
public string OnShapeFeatureCreated { get; set; }
Fired when the mouse enters a shape.
public string OnShapeMouseEnter { get; set; }
Fired when the mouse leaves a shape.
public string OnShapeMouseLeave { get; set; }
Fired when the map zoom level is about to change. Cancelling the event will prevent the user action.
public string OnZoomStart { get; set; }