layers.shape String (default: "pinTarget")

The default marker shape for data-bound markers. 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-marker-pin-target".

Example - setting marker shape

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

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