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 : TooltipBuilderBase<MapMarkerTooltipBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<Tooltip, TooltipBuilderBase<MapMarkerTooltipBuilder>>TooltipBuilderBase<MapMarkerTooltipBuilder>MapMarkerTooltipBuilder
Implements:
Inherited Members
Constructors
MapMarkerTooltipBuilder method.
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:Returns the current MapMarkerTooltipBuilder instance.
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:Returns the current MapMarkerTooltipBuilder instance.
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:Returns the current MapMarkerTooltipBuilder instance.
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(IHtmlContent templateView)
The Razor View that contains the tooltip template.
Returns:Returns the current MapMarkerTooltipBuilder instance.