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>
<script>
    $("#map").kendoMap({
        layers: [{
            type: "marker",
            shape: "pin",

            locationField: "latlng",
            dataSource: {
                data: [{
                    latlng: [0, 0]
                }]
            }
        }]
    });
</script>
In this article
Not finding the help you need? Improve this article