MapMarkerBuilder
Defines the fluent API for configuring the MapMarker settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class MapMarkerBuilder
Inheritance: objectMapMarkerBuilder
Inherited Members
Constructors
Methods
Sets the HTML attributes of the Map marker.
public virtual MapMarkerBuilder HtmlAttributes(IDictionary<string, object> attributes)
The HTML attributes.
Returns:Sets the HTML attributes of the Map marker.
public virtual MapMarkerBuilder HtmlAttributes(object attributes)
The HTML attributes.
Returns:Defines the marker location on the Map. The coordinates are listed as [Latitude, Longitude].
public MapMarkerBuilder Location(params double[] value)
The value that configures the marker location.
Returns:Defines the marker shape. The marker shapes are implemented as CSS classes on the marker element ("span.k-marker").
public MapMarkerBuilder Shape(MapMarkersShape value)
The enum value that configures the marker shape.
Returns:Defines the marker shape. The marker shapes are implemented as CSS classes on the marker element ("span.k-marker"). The available shapes are "pin" and "pinTarget".
public MapMarkerBuilder Shape(string name)
The name of the marker shape.
Returns:Defines the marker title. It is displayed as a browser tooltip.
public MapMarkerBuilder Title(string value)
The value that configures the title.
Returns:Defines the tooltip options for the marker.
public MapMarkerBuilder Tooltip(Action<MapMarkerTooltipBuilder> configurator)
The action that configures the tooltip settings.
Returns: