<kendo:map-layer>

The configuration of the map layers. The layer type is determined by the value of the type field.

Example

<kendo:map-layers>
    <kendo:map-layer></kendo:map-layer>
</kendo:map-layers>

Configuration Attributes

attribution java.lang.String

The attribution for the layer. Accepts valid HTML.

Example

<kendo:map-layer attribution="attribution">
</kendo:map-layer>

autoBind 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.

Example

<kendo:map-layer autoBind="autoBind">
</kendo:map-layer>

culture java.lang.String

The culture to be used for the bing map tiles.

Example

<kendo:map-layer culture="culture">
</kendo:map-layer>

extent java.lang.Object

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.

Example

<kendo:map-layer extent="extent">
</kendo:map-layer>

imagerySet java.lang.String

The bing map tile types. Possible options.

Example

<kendo:map-layer imagerySet="imagerySet">
</kendo:map-layer>

key java.lang.String

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

Example

<kendo:map-layer key="key">
</kendo:map-layer>

locationField java.lang.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.

Example

<kendo:map-layer locationField="locationField">
</kendo:map-layer>

maxSize float

The maximum symbol size for bubble layer symbols.

Example

<kendo:map-layer maxSize="maxSize">
</kendo:map-layer>

maxZoom float

The maximum zoom level at which to show this layer.

Example

<kendo:map-layer maxZoom="maxZoom">
</kendo:map-layer>

minSize float

The minimum symbol size for bubble layer symbols.

Example

<kendo:map-layer minSize="minSize">
</kendo:map-layer>

minZoom float

The minimum zoom level at which to show this layer.

Example

<kendo:map-layer minZoom="minZoom">
</kendo:map-layer>

opacity float

The the opacity for the layer.

Example

<kendo:map-layer opacity="opacity">
</kendo:map-layer>

shape java.lang.String

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

Example

<kendo:map-layer shape="shape">
</kendo:map-layer>

subdomains java.lang.Object

A list of subdomains to use for loading tiles. Alternating between different subdomains allows more requests to be executed in parallel.

Example

<kendo:map-layer subdomains="subdomains">
</kendo:map-layer>

symbol java.lang.String

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

Example

<kendo:map-layer symbol="symbol">
</kendo:map-layer>

tileSize float

The size of the image tile in pixels.

Example

<kendo:map-layer tileSize="tileSize">
</kendo:map-layer>

titleField java.lang.String

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

Example

<kendo:map-layer titleField="titleField">
</kendo:map-layer>

type java.lang.String

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

Example

<kendo:map-layer type="type">
</kendo:map-layer>

urlTemplate java.lang.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.

Example

<kendo:map-layer urlTemplate="urlTemplate">
</kendo:map-layer>

valueField java.lang.String

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

Example

<kendo:map-layer valueField="valueField">
</kendo:map-layer>

zIndex float

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

Example

<kendo:map-layer zIndex="zIndex">
</kendo:map-layer>

Configuration JSP Tags

kendo:map-layer-style

The default style for shapes.

More documentation is available at kendo:map-layer-style.

Example

<kendo:map-layer>
    <kendo:map-layer-style></kendo:map-layer-style>
</kendo:map-layer>

kendo:map-layer-tooltip

The default Kendo UI Tooltip options for data-bound markers.

More documentation is available at kendo:map-layer-tooltip.

Example

<kendo:map-layer>
    <kendo:map-layer-tooltip></kendo:map-layer-tooltip>
</kendo:map-layer>
In this article
Not finding the help you need?