I have a kendoMap with dataSource transport read which loads the locations for the markers. Because it loads thousands of coordinates I would need a progress bar on the map to let the user know that the map is loading. Is this possible? I'm using Bing type map.
$("#map").kendoMap({
center: centerCoordinates,
zoom: zoomLevel,
layerDefaults: {
bing: {
culture: "hu-HU"
}
},
layers: [
{
type: "bing",
imagerySet: "road",
key:"XXXXXXXXXXXXX"
},
{
dataSource: {
transport: {
read: {
url: url,
type: 'GET',
contentType: "application/json; charset=utf-8",
dataType: 'json',
data: json
}
}
},
type: "marker",
locationField: "LatLng",
titleField: "Name",
shape: "pin"
}],
markerActivate: function(e) {
e.marker.element.addClass(e.marker.dataItem.Color);
},
markerClick: function (e) {
//some more code exists here...
},
zoomEnd: zoomEndControl,
pan: panControl,
panEnd: panEndControl
});