layerDefaults.marker.shape String (default: "pinTarget")

The default marker shape for all marker layers. The following pre-defined marker shapes are available:

  • pinTarget
  • pin

Marker shapes are implemented as CSS classes on the marker element (span.k-marker). For example "pinTarget" is rendered as "k-i-marker-pin-target".

Example - setting default marker shape

<div id="map"></div>
        layerDefaults: {
            marker: {
                shape: "pin"
        layers: [{
            type: "marker",

            locationField: "latlng",
            dataSource: {
                data: [{
                    latlng: [0, 0]
In this article