layerDefaults.bing Object

The default configuration for Bing (tm) tile layers.

Example - set default options for all Bing (tm) layers

<div id="map"></div>
<script>
    $("#map").kendoMap({
        layerDefaults: {
            bing: {
                opacity: 0.8
            }
        },
        layers: [{
            type: "bing",
            key: "YOUR API KEY"
        }]
    });
</script>

layerDefaults.bing.attribution String

The attribution of all Bing (tm) layers.

Example - set default attribution for all Bing (tm) layers

<div id="map"></div>
<script>
    $("#map").kendoMap({
        layerDefaults: {
            bing: {
                attribution: "&copy; Microsoft"
            }
        },
        layers: [{
            type: "bing",
            key: "YOUR API KEY"
        }]
    });
</script>

layerDefaults.bing.opacity Number (default: 1)

The the opacity of all Bing (tm) tile layers.

Example - set Bing (tm) layer default opacity

<div id="map"></div>
<script>
    $("#map").kendoMap({
        layerDefaults: {
            bing: {
                opacity: 0.5
            }
        },
        layers: [{
            type: "bing",
            key: "YOUR API KEY"
        }]
    });
</script>

layerDefaults.bing.key String

The key of all Bing (tm) tile layers.

Example - set default API key

<div id="map"></div>
<script>
    $("#map").kendoMap({
        layerDefaults: {
            bing: {
                key: "YOUR API KEY"
            }
        },
        layers: [{
            type: "bing"
        }]
    });
</script>

layerDefaults.bing.imagerySet String (default: "road")

The bing map tile types. Possible options:

* aerial - Aerial imagery.
* aerialWithLabels - Aerial imagery with a road overlay.
* road - Roads without additional imagery. (default)

layerDefaults.bing.culture String (default: "en-US")

The culture to be used for the bing map tiles.

Example - set default culture for bing layers

<div id="map"></div>
<script>
    $("#map").kendoMap({
        layerDefaults: {
            bing: {
                culture: "de-DE"
            }
        },
        layers: [{
            type: "bing",
            key: "YOUR API KEY"
        }]
    });
</script>
In this article