mapkendo.dataviz.ui.Map

The owner Map widget.

Example

<div id="map"></div>
<script>
    // Create a Map widget
    $("#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");
    // The map parameter is passed to the MarkerLayer constructor
    console.log("Map widget passed to marker layer:", map);
</script>
In this article
map
Not finding the help you need?
Contact Support