Class
TelerikMap

Telerik UI Map component. Children: MapLayers, MapControls.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

public class TelerikMap : DataVizComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentDataVizComponentTelerikMap

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnParametersSetAsync()ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DisExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TelerikMap()

Declaration

public TelerikMap()

Properties

Center

The map center. Coordinates are listed as [Latitude, Longitude].

Declaration

[Parameter]
public double[] Center { get; set; }

Property Value

double[]

MaxZoom

The maximum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).

Declaration

[Parameter]
public double? MaxZoom { get; set; }

Property Value

double?

MinSize

The size of the map in pixels at zoom level 0.

Declaration

[Parameter]
public double? MinSize { get; set; }

Property Value

double?

MinZoom

The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).

Declaration

[Parameter]
public double? MinZoom { get; set; }

Property Value

double?

OnClick

Specifies the click event.

Declaration

[Parameter]
public EventCallback<MapClickEventArgs> OnClick { get; set; }

Property Value

EventCallback<MapClickEventArgs>

OnMarkerClick

Specifies the marker click event.

Declaration

[Parameter]
public EventCallback<MapMarkerClickEventArgs> OnMarkerClick { get; set; }

Property Value

EventCallback<MapMarkerClickEventArgs>

OnPanEnd

Specifies the pan end event.

Declaration

[Parameter]
public EventCallback<MapPanEndEventArgs> OnPanEnd { get; set; }

Property Value

EventCallback<MapPanEndEventArgs>

OnShapeClick

Specifies the shape click event.

Declaration

[Parameter]
public EventCallback<MapShapeClickEventArgs> OnShapeClick { get; set; }

Property Value

EventCallback<MapShapeClickEventArgs>

OnZoomEnd

Specifies the zoom end event.

Declaration

[Parameter]
public EventCallback<MapZoomEndEventArgs> OnZoomEnd { get; set; }

Property Value

EventCallback<MapZoomEndEventArgs>

Pannable

Controls whether the user can pan the map.

Declaration

[Parameter]
public bool? Pannable { get; set; }

Property Value

bool?

WrapAround

Specifies whether the map should wrap around the east-west edges.

Declaration

[Parameter]
public bool? WrapAround { get; set; }

Property Value

bool?

Zoom

The initial zoom level.Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).The map size is derived from the zoom level and minScale options: size = (2 ^ zoom) * minSize

Declaration

[Parameter]
public double? Zoom { get; set; }

Property Value

double?

Zoomable

Controls whether the map zoom level can be changed by the user.

Declaration

[Parameter]
public bool? Zoomable { get; set; }

Property Value

bool?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides DataVizComponent.OnAfterRender(bool)

OnInitialized()

Declaration

protected override void OnInitialized()

Overrides DataVizComponent.OnInitialized()

OnParametersSet()

Declaration

protected override void OnParametersSet()

Overrides DataVizComponent.OnParametersSet()