markerDefaults Object
The default options for all markers.
Example - setting default shape for all markers
<div id="map"></div>
<script>
$("#map").kendoMap({
layers: [{
type: "tile",
urlTemplate: "http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png",
attribution: "© OpenStreetMap"
}],
markerDefaults: {
shape: "pin"
},
markers: [{
location: [42, 27]
}, {
location: [40, 20]
}]
});
</script>
Related Properties
- markerDefaults.shape
- markerDefaults.tooltip
- markerDefaults.tooltip.autoHide
- markerDefaults.tooltip.content
- markerDefaults.tooltip.content.url
- markerDefaults.tooltip.template
- markerDefaults.tooltip.animation
- markerDefaults.tooltip.animation.close
- markerDefaults.tooltip.animation.close.effects
- markerDefaults.tooltip.animation.close.duration
- markerDefaults.tooltip.animation.open
- markerDefaults.tooltip.animation.open.effects
- markerDefaults.tooltip.animation.open.duration
- markerDefaults.tooltip.callout
- markerDefaults.tooltip.iframe
- markerDefaults.tooltip.height
- markerDefaults.tooltip.width
- markerDefaults.tooltip.position
- markerDefaults.tooltip.showAfter
- markerDefaults.tooltip.showOn