Defines the fluent API for configuring the map marker tooltip settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class MapMarkerTooltipBuilder : TooltipSettingsBuilder<MapMarkerTooltipBuilder>
Inheritance: objectTooltipSettingsBuilder<MapMarkerTooltipBuilder>MapMarkerTooltipBuilder
Inherited Members
Constructors
Methods
Defines the template that renders the tooltip content. The available fields in the template are:
- location: The marker location.
- marker: The marker instance.
public MapMarkerTooltipBuilder Template(string value)
The value that configures the tooltip content.
Returns:Defines the template that renders the tooltip content. The available fields in the template are:
- location: The marker location.
- marker: The marker instance.
public MapMarkerTooltipBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the tooltip content.
Returns:Defines the template that renders the tooltip content. The available fields in the template are:
- location: The marker location.
- marker: The marker instance.
public MapMarkerTooltipBuilder TemplateHandler(string templateHandler)
The JavaScript function that returns the template for the tooltip.
Returns:Defines the template that renders the tooltip content. The available fields in the template are:
- location: The marker location.
- marker: The marker instance.
public MapMarkerTooltipBuilder TemplateView(MvcHtmlString templateView)
The Razor View that contains the tooltip template.
Returns: