skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class MapLayer

Inheritance
System.Object
Telerik.Generated.Blazor.Components.DataVizChildComponent
Telerik.Generated.Blazor.Components.DataVizCollectionItemComponent
MapLayer
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
Telerik.Generated.Blazor.Components.DataVizChildComponent.Dispose()

OnAfterRender(Boolean)

Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean firstRender

OnInitialized()

Declaration
protected override void OnInitialized()
Overrides
Telerik.Generated.Blazor.Components.DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration
protected override void OnParametersSet()

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Client-side Blazor
  • Server-side Blazor
  • Demos
Community
  • Forums
  • Blogs
  • Feedback Portal
Support Resources
  • Demos
  • Knowledge Base
  • Samples Repo
  • Localizations Repo
Sample Applications
  • Dashboard
  • PWA - Stocks
  • PWA - Blazing Coffee Roasters

Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.