mapkendo.dataviz.ui.Map

The owner Map widget.

Example

<div id="map"></div>
<script>
    $("#map").kendoMap({
        layers: [{
            type: "marker",
            dataSource: [
                { latlng: [42.3601, -71.0589], name: "Boston" },
                { latlng: [40.7128, -74.0060], name: "New York" }
            ],
            locationField: "latlng"
        }]
    });

    var map = $("#map").data("kendoMap");
    var markerLayer = map.layers[0];
    
    // Access the owner Map widget through the map field
    console.log("Owner map widget:", markerLayer.map);
    console.log("Same as original map:", markerLayer.map === map);
</script>
In this article
map
Not finding the help you need?
Contact Support