New to Telerik UI for ASP.NET MVC? Download free 30-day trial

MapEventBuilder

Methods

BeforeReset(System.String)

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

For more information see BeforeReset event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the beforeReset event.

Click(System.String)

Fired when the user clicks on the map.

For more information see Click event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the click event.

MarkerActivate(System.String)

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

For more information see MarkerActivate event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the markerActivate event.

MarkerCreated(System.String)

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.

For more information see MarkerCreated event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the markerCreated event.

MarkerClick(System.String)

Fired when a marker has been clicked or tapped.

For more information see MarkerClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the markerClick event.

Pan(System.String)

Fired while the map viewport is being moved.

For more information see Pan event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the pan event.

PanEnd(System.String)

Fires after the map viewport has been moved.

For more information see PanEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the panEnd event.

Reset(System.String)

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

For more information see Reset event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the reset event.

ShapeClick(System.String)

Fired when a shape is clicked or tapped.

For more information see ShapeClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the shapeClick event.

ShapeCreated(System.String)

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

For more information see ShapeCreated event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the shapeCreated event.

ShapeFeatureCreated(System.String)

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

For more information see ShapeFeatureCreated event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the shapeFeatureCreated event.

ShapeMouseEnter(System.String)

Fired when the mouse enters a shape.

For more information see ShapeMouseEnter event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the shapeMouseEnter event.

ShapeMouseLeave(System.String)

Fired when the mouse leaves a shape.

For more information see ShapeMouseLeave event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the shapeMouseLeave event.

ZoomStart(System.String)

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

For more information see ZoomStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the zoomStart event.

ZoomEnd(System.String)

Fired when the map zoom level has changed.

For more information see ZoomEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the zoomEnd event.

In this article
Not finding the help you need?