Class MapLayer
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class MapLayer : DataVizCollectionItemComponent, IDisposable
Constructors
MapLayer()
Declaration
public MapLayer()
Properties
Attribution
The attribution for the layer. Accepts valid HTML.
Declaration
public string Attribution { get; set; }
Property Value
System.String
|
ChildContent
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Data
Specifies the data of the layer.
Declaration
public object Data { get; set; }
Property Value
System.Object
|
Extent
Specifies the extent of the region covered by this layer. The layer will be hidden when the specified area is out of view.Accepts a four-element array that specifies the extent covered by this layer: North-West lat, longitude, South-East latitude, longitude.If not specified, the layer is always visible.
Declaration
public double[] Extent { get; set; }
Property Value
System.Double[]
|
LocationField
The data item field which contains the marker (symbol) location. The field should be an array with two numbers - latitude and longitude in decimal degrees.Requires the dataSource option to be set.Only applicable to "marker" and "bubble" layers.
Declaration
public string LocationField { get; set; }
Property Value
System.String
|
MaxSize
The maximum symbol size for bubble layer symbols.
Declaration
public Nullable<double> MaxSize { get; set; }
Property Value
System.Nullable<System.Double>
|
MaxZoom
The maximum zoom level at which to show this layer.
Declaration
public Nullable<double> MaxZoom { get; set; }
Property Value
System.Nullable<System.Double>
|
MinSize
The minimum symbol size for bubble layer symbols.
Declaration
public Nullable<double> MinSize { get; set; }
Property Value
System.Nullable<System.Double>
|
MinZoom
The minimum zoom level at which to show this layer.
Declaration
public Nullable<double> MinZoom { get; set; }
Property Value
System.Nullable<System.Double>
|
Opacity
The the opacity for the layer.
Declaration
public Nullable<double> Opacity { get; set; }
Property Value
System.Nullable<System.Double>
|
Shape
The marker shape for marker layers.
Declaration
public Nullable<MapMarkersShape> Shape { get; set; }
Property Value
System.Nullable<MapMarkersShape>
|
Subdomains
A list of subdomains to use for loading tiles. Alternating between different subdomains allows more requests to be executed in parallel.
Declaration
public string[] Subdomains { get; set; }
Property Value
System.String[]
|
Symbol
The default symbol for bubble layers.
Declaration
public Nullable<MapLayersSymbol> Symbol { get; set; }
Property Value
System.Nullable<MapLayersSymbol>
|
TileSize
The size of the image tile in pixels.
Declaration
public Nullable<double> TileSize { get; set; }
Property Value
System.Nullable<System.Double>
|
TitleField
The data item field which contains the marker title. Requires the dataSource option to be set.
Declaration
public string TitleField { get; set; }
Property Value
System.String
|
Type
The type of the layer.
Declaration
public Nullable<MapLayersType> Type { get; set; }
Property Value
System.Nullable<MapLayersType>
|
UrlTemplate
The URL template for tile layers. Template variables: x - X coordinate of the tile; y - Y coordinate of the tile; zoom - zoom level or subdomain - Subdomain for this tile. See subdomains.
Declaration
public string UrlTemplate { get; set; }
Property Value
System.String
|
ValueField
The value field for bubble layer symbols. The data item field should be a number.
Declaration
public string ValueField { get; set; }
Property Value
System.String
|
ZIndex
The zIndex for this layer.Layers are normally stacked in declaration order (last one is on top).
Declaration
public Nullable<double> ZIndex { get; set; }
Property Value
System.Nullable<System.Double>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
Declaration
public override void Dispose()
Overrides
OnAfterRender(Boolean)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean
firstRender
|
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()