New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI MapMarker class

Definition

Constructors

C#
public MapMarker()

Properties

HtmlAttributes member.

C#
public IDictionary<string, object> HtmlAttributes { get; }

The marker location on the map. Coordinates are listed as [Latitude, Longitude].

C#
public double[] Location { get; set; }

Map member.

C#
public Map Map { get; set; }

The marker shape. Supported shapes are "pin" and "pinTarget".

C#
public MapMarkersShape? Shape { get; set; }

Implements: IMapMarkersShapeSettings.Shape

ShapeName member.

C#
public string ShapeName { get; set; }

Implements: IMapMarkersShapeSettings.ShapeName

The marker title. Displayed as browser tooltip.

C#
public string Title { get; set; }

ViewContext member.

C#
protected override ViewContext ViewContext { get; }

Overrides: MapBaseLayerSettings.ViewContext

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>