Fired when a marker has been clicked or tapped.

Example - Change marker color when it is is clicked or tapped

<div id="map"></div>
  function createMap() {
      center: [30.268107, -97.744821],
      zoom: 3,
      layers: [{
        type: "tile",
        urlTemplate: "https://#= subdomain zoom #/#= x #/#= y #.png",
        subdomains: ["a", "b", "c"],
        attribution: "&copy; <a href=''>OpenStreetMap contributors</a>"
      markers: [{
        location: [30.268107, -97.744821],
        shape: "pinTarget",
        tooltip: {
          content: "Austin, TX"
      markerClick: function(e) {
        $(e.marker.element.context).css("color", "green");

Event Data


The marker instance.


The marker layer instance.

e.sender kendo.dataviz.ui.Map

The source widget instance.

In this article