MapLayer
The configuration of the map layers. The layer type is determined by the value of the type field.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class MapLayer : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerMapLayer
Implements:
Inherited Members
Constructors
public MapLayer()
Properties
The attribution for the layer. Accepts valid HTML.
public string Attribution { get; set; }
The ID of RadClientDataSource control to which the layer will be data bound.
public string ClientDataSourceID { get; set; }
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.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Extent ExtentSettings { get; }
The bing map tile types. Possible options:
public string ImagerySet { get; set; }
The API key for the layer. Currently supported only for Bing (tm) tile layers.
public string Key { get; set; }
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.
public string LocationField { get; set; }
The maximum symbol size for bubble layer symbols.
public double MaxSize { get; set; }
The maximum zoom level at which to show this layer.
public double MaxZoom { get; set; }
The minimum symbol size for bubble layer symbols.
public double MinSize { get; set; }
The minimum zoom level at which to show this layer.
public double MinZoom { get; set; }
The default marker shape for data-bound markers. The following pre-defined marker shapes are available:Marker shapes are implemented as CSS classes on the marker element (span.k-marker). For example "pinTarget" is rendered as "k-marker-pin-target".
[TypeConverter(typeof(MarkerShapeStringConverter))]
public string Shape { get; set; }
The default style for shapes.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style StyleSettings { get; }
A list of subdomains to use for loading tiles. Alternating between different subdomains allows more requests to be executed in parallel.
[TypeConverter(typeof(ListConverter))]
public string[] Subdomains { get; set; }
The symbol to use for bubble layers. Possible values: circle, square
public string Symbol { get; set; }
The data item field which contains the marker title. Requires the dataSource option to be set.
public string TitleField { get; set; }
The default Kendo UI Tooltip options for data-bound markers.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Tooltip TooltipSettings { get; }
The layer type. Supported types are "tile" and "shape".
public LayerType Type { get; set; }
The URL template for tile layers. Template variables:
public string UrlTemplate { get; set; }
The value field for bubble layer symbols. The data item field should be a number.
public string ValueField { get; set; }
Methods
protected override void TrackViewState()
Overrides: