locationArray|kendo.dataviz.map.Location
The marker location on the map. Coordinates are listed as [Latitude, Longitude]
.
Example
<div id="map"></div>
<script>
$("#map").kendoMap({
layers: [{
type: "tile",
urlTemplate: "https://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png",
attribution: "© OpenStreetMap"
}],
markers: [{
location: [42.3601, 71.0589], // Boston coordinates
title: "Boston"
}]
});
</script>
In this article