optionsObject

The layer options.

Example

<div id="map"></div>
<script>
    $("#map").kendoMap({
        layers: [{
            type: "marker",
            // These options are passed to the MarkerLayer constructor
            dataSource: [
                { latlng: [42.3601, -71.0589], name: "Boston", population: 685094 },
                { latlng: [40.7128, -74.0060], name: "New York", population: 8175133 }
            ],
            locationField: "latlng",
            titleField: "name",
            tooltip: {
                content: "City: #= name # (Population: #= population #)"
            }
        }]
    });

    console.log("MarkerLayer created with specified options");
</script>
In this article
options
Not finding the help you need?
Contact Support