Map Layers

The information that the Kendo UI Map widget renders is organized into layers.

They are stacked from bottom to top in the order of definition and are oblivious of each other. To keep their content in sync, the Map layers respond to the Map events.

Tile Layers

Basic Usage

Tile layers are suitable for:

Microsoft Bing provides dedicated support. Note that it requires you to obtain an API key.

The following example demonstrates how to display an OpenStreetMap tile layer.

<div id="map"></div>
    layers: [{
      type: "tile",
        urlTemplate: "http://#= subdomain zoom #/#= x #/#= y #.png",
        subdomains: ["a", "b", "c"],
        attribution: "&copy; <a href=''>OpenStreetMap contributors</a>"

Zoom Levels

Raster maps are divided into images (tiles) for serving over the web. Tiles are typically 256px squares. The top level (zoom level 0) displays the whole world as a single tile. Each progressive zoom level doubles the size of the map in the following way:

  • Zoom level 0: 1x1 tiles (256px).
  • Zoom level 1: 2x2 tiles (512px).
  • Zoom level 2: 4x4 tiles (1024px) and so on.

See Also

In this article
Not finding the help you need? Improve this article