MapMarkerBuilder
Defines the fluent API for configuring MapMarker
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class MapMarkerBuilder
Inheritance: objectMapMarkerBuilder
Inherited Members
Constructors
MapMarkerBuilder method.
Properties
Methods
Sets the HTML attributes of the Map marker.
public virtual MapMarkerBuilder HtmlAttributes(IDictionary<string, object> attributes)
The HTML attributes.
Returns:Returns the current MapMarkerBuilder instance.
Sets the HTML attributes of the Map marker.
public virtual MapMarkerBuilder HtmlAttributes(object attributes)
The HTML attributes.
Returns:Returns the current MapMarkerBuilder instance.
The marker location on the map. Coordinates are listed as [Latitude, Longitude].
public MapMarkerBuilder Location(params double[] value)
The value for Location
Returns:Returns the current MapMarkerBuilder instance.
The marker shape. Supported shapes are "pin" and "pinTarget".
public MapMarkerBuilder Shape(MapMarkersShape value)
The value for Shape
Returns:Returns the current MapMarkerBuilder instance.
Sets the marker shape name. The available pre-defined marker shapes are "pin" and "pinTarget".
public MapMarkerBuilder Shape(string name)
The name of the marker shape.
Returns:Returns the current MapMarkerBuilder instance.
The marker title. Displayed as browser tooltip.
public MapMarkerBuilder Title(string value)
The value for Title
Returns:Returns the current MapMarkerBuilder instance.
Sets the tooltip options of the Map marker.
public MapMarkerBuilder Tooltip(Action<MapMarkerTooltipBuilder> configurator)
The action that configures the tooltip settings.
Returns:Returns the current MapMarkerBuilder instance.