Edit this page

Kendo.Mvc.UI.Fluent.MapEventBuilder

Defines the fluent API for configuring the Kendo Map for ASP.NET MVC events.

Methods

BeforeReset(System.String)

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

For additional information check the beforeReset event documentation.

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 additional information check the click event documentation.

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 additional information check the markerActivate event documentation.

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 additional information check the markerCreated event documentation.

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 additional information check the markerClick event documentation.

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 additional information check the pan event documentation.

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 additional information check the panEnd event documentation.

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 additional information check the reset event documentation.

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 additional information check the shapeClick event documentation.

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 additional information check the shapeCreated event documentation.

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 additional information check the shapeFeatureCreated event documentation.

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 additional information check the shapeMouseEnter event documentation.

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 additional information check the shapeMouseLeave event documentation.

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 additional information check the zoomStart event documentation.

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 additional information check the zoomEnd event documentation.

Parameters

handler System.String

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