New to Kendo UI for jQueryStart a free 30-day trial

Hide

methods

Hides the layer, if visible.

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

var layer = $("#map").data("kendoMap").layers[0];

setTimeout(function() {
    layer.hide();
    console.log("Bing layer is now hidden");
}, 2000);
</script>
Not finding the help you need?
Contact Support