New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Defines the client events handlers.

Definition

Constructors

C#
public MapClientEvents()

Properties

Specifies whether the implementing object has default values.

C#
public bool IsDefault { get; }

Implements: IDefaultCheck.IsDefault

Fired immediately before the map is reset. This event is typically used for cleanup by layer implementers.

C#
public string OnBeforeReset { get; set; }

Fired when the user clicks on the map.

C#
public string OnClick { get; set; }

Gets or sets the client-side script that executes when a RadMap client-initialize event is raised.

C#
[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.

C#
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnLoad { get; set; }

Fired when a marker has been displayed and has a DOM element assigned.

C#
public string OnMarkerActivate { get; set; }

Fired when a marker has been clicked or tapped.

C#
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.

C#
public string OnMarkerCreated { get; set; }

Fired while the map viewport is being moved.

C#
public string OnPan { get; set; }

Fires after the map viewport has been moved.

C#
public string OnPanEnd { get; set; }

Fired when the map is reset. This typically occurs on initial load and after a zoom/center change.

C#
public string OnReset { get; set; }

Fired when a shape is clicked or tapped.

C#
public string OnShapeClick { get; set; }

Fired when a shape is created, but is not rendered yet.

C#
public string OnShapeCreated { get; set; }

Fired when a GeoJSON Feature is created on a shape layer.

C#
public string OnShapeFeatureCreated { get; set; }

Fired when the mouse enters a shape.

C#
public string OnShapeMouseEnter { get; set; }

Fired when the mouse leaves a shape.

C#
public string OnShapeMouseLeave { get; set; }

Fired when the map zoom level has changed.

C#
public string OnZoomEnd { get; set; }

Fired when the map zoom level is about to change. Cancelling the event will prevent the user action.

C#
public string OnZoomStart { get; set; }