New to Telerik UI for ASP.NET MVC? Download free 30-day trial

MapLayerBuilder

Methods

DataSource(System.Action)

Configures the data source of the map layer.

Parameters

configurator - System.Action<MapLayerDataSourceBuilder>

The configuration of the data source.

Subdomains(System.String[])

Configures of the subdomains.

Parameters

subdomains - System.String[]

The subdomains

Attribution(System.String)

The attribution for the layer. Accepts valid HTML.

Parameters

value - System.String

The value that configures the attribution.

AutoBind(System.Boolean)

If set to false the layer will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.

Parameters

value - System.Boolean

The value that configures the autobind.

Extent(System.Double[])

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.

Parameters

value - System.Double[]

The value that configures the extent.

Key(System.String)

The API key for the layer. Currently supported only for Bing (tm) tile layers.

Parameters

value - System.String

The value that configures the key.

Culture(System.String)

The culture to be used for the bing map tiles.

Parameters

value - System.String

The value that configures the culture.

LocationField(System.String)

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.

Parameters

value - System.String

The value that configures the locationfield.

TileSize(System.Double)

The size of the image tile in pixels.

Parameters

value - System.Double

The value that configures the tilesize.

TitleField(System.String)

The data item field which contains the marker title. Requires the dataSource option to be set.

Parameters

value - System.String

The value that configures the titlefield.

MaxSize(System.Double)

The maximum symbol size for bubble layer symbols.

Parameters

value - System.Double

The value that configures the maxsize.

MinSize(System.Double)

The minimum symbol size for bubble layer symbols.

Parameters

value - System.Double

The value that configures the minsize.

MaxZoom(System.Double)

The maximum zoom level at which to show this layer.

Parameters

value - System.Double

The value that configures the maxzoom.

MinZoom(System.Double)

The minimum zoom level at which to show this layer.

Parameters

value - System.Double

The value that configures the minzoom.

Opacity(System.Double)

The the opacity for the layer.

Parameters

value - System.Double

The value that configures the opacity.

Style(System.Action)

The default style for shapes.

Parameters

configurator - System.Action<MapLayerStyleSettingsBuilder>

The action that configures the style.

UrlTemplate(System.String)

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.

Parameters

value - System.String

The value that configures the urltemplate.

UrlTemplateId(System.String)

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.

Parameters

value - System.String

The value that configures the urltemplate.

UrlTemplateView(System.Web.Mvc.MvcHtmlString)

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.

Parameters

value - System.Web.Mvc.MvcHtmlString

The value that configures the urltemplate.

UrlTemplateHandler(System.String)

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.

Parameters

value - System.String

The value that configures the urltemplate.

UrlTemplate(Kendo.Mvc.UI.TemplateBuilder)

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.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the urltemplate.

ValueField(System.String)

The value field for bubble layer symbols. The data item field should be a number.

Parameters

value - System.String

The value that configures the valuefield.

ZIndex(System.Double)

The zIndex for this layer.Layers are normally stacked in declaration order (last one is on top).

Parameters

value - System.Double

The value that configures the zindex.

Type(Kendo.Mvc.UI.MapLayerType)

The layer type. Supported types are "tile", "bing", "shape", "marker" and "bubble".

Parameters

value - MapLayerType

The value that configures the type.

ImagerySet(Kendo.Mvc.UI.MapLayersImagerySet)

The bing map tile types. Possible options.

Parameters

value - MapLayersImagerySet

The value that configures the imageryset.

Shape(Kendo.Mvc.UI.MapMarkersShape)

The marker shape. Supported shapes are "pin" and "pinTarget".

Parameters

value - MapMarkersShape

The value that configures the shape.

Symbol(Kendo.Mvc.UI.MapSymbol)

The bubble layer symbol type. Supported symbols are "circle" and "square".

Parameters

value - MapSymbol

The value that configures the symbol.

Shape(System.String)

The marker shape name. The "pin" and "pinTarget" shapes are predefined.

Parameters

name - System.String

The name of the shape.

Symbol(System.String)

The bubble layer symbol type. The "circle" and "square" symbols are predefined.

Parameters

symbol - System.String

The value that configures the symbol.

SymbolHandler(System.String)

A client-side function to invoke that will draw the symbol.

Parameters

handler - System.String

The name of the JavaScript function that will draw the symbol.

Tooltip(System.Action)

The tooltip options for this marker.

Parameters

configurator - System.Action<MapMarkerTooltipBuilder>

The action that configures the tooltip.

In this article
Not finding the help you need?