Class TelerikMap
Telerik UI Map component.
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikMap : DataVizComponent, IDisposable
Constructors
TelerikMap()
Declaration
public TelerikMap()
Properties
Center
The map center. Coordinates are listed as [Latitude, Longitude].
Declaration
public double[] Center { get; set; }
Property Value
System.Double[]
|
MaxZoom
The maximum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
Declaration
public Nullable<double> MaxZoom { get; set; }
Property Value
System.Nullable<System.Double>
|
MinSize
The size of the map in pixels at zoom level 0.
Declaration
public Nullable<double> MinSize { get; set; }
Property Value
System.Nullable<System.Double>
|
MinZoom
The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
Declaration
public Nullable<double> MinZoom { get; set; }
Property Value
System.Nullable<System.Double>
|
OnClick
Specifies the click event.
Declaration
public EventCallback<MapClickEventArgs> OnClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<MapClickEventArgs>
|
OnMarkerClick
Specifies the marker click event.
Declaration
public EventCallback<MapMarkerClickEventArgs> OnMarkerClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<MapMarkerClickEventArgs>
|
OnPanEnd
Specifies the pan end event.
Declaration
public EventCallback<MapPanEndEventArgs> OnPanEnd { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<MapPanEndEventArgs>
|
OnShapeClick
Specifies the shape click event.
Declaration
public EventCallback<MapShapeClickEventArgs> OnShapeClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<MapShapeClickEventArgs>
|
OnZoomEnd
Specifies the zoom end event.
Declaration
public EventCallback<MapZoomEndEventArgs> OnZoomEnd { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<MapZoomEndEventArgs>
|
Pannable
Controls whether the user can pan the map.
Declaration
public Nullable<bool> Pannable { get; set; }
Property Value
System.Nullable<System.Boolean>
|
WrapAround
Specifies whether the map should wrap around the east-west edges.
Declaration
public Nullable<bool> WrapAround { get; set; }
Property Value
System.Nullable<System.Boolean>
|
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
public Nullable<double> Zoom { get; set; }
Property Value
System.Nullable<System.Double>
|
Zoomable
Controls whether the map zoom level can be changed by the user.
Declaration
public Nullable<bool> Zoomable { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRender(Boolean)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean
firstRender
|
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()