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

Definition

Constructors

C#
public MapMarker(Map map)
Parameters:mapMap

Properties

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; }

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

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

The marker title. Displayed as browser tooltip.

C#
public string Title { get; set; }
C#
public MapMarkerTooltip Tooltip { get; set; }

Methods

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)