layers.autoBind Boolean (default: true)

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.

Setting autoBind to false is useful when multiple layers (or widgets) are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service.

Example - using manual binding

<div id="map"></div>
<script>
    var ds = new kendo.data.DataSource({
        type: "geojson",
        data: [{
            "type": "Polygon",
            "coordinates": [
                [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]
            ]
        }]
    });

    $("#map").kendoMap({
        layers: [{
            type: "shape",
            autoBind: false,
            dataSource: ds
        }]
    });

    ds.read();
</script>

Example - set Bing (tm) layer API key

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