layerDefaults.bubble.style Object
The default style for bubble layer symbols.
Example - Set default style for all bubble layers
<div id="map"></div>
<script>
$("#map").kendoMap({
layerDefaults: {
bubble: {
style: {
fill: {
color: "red",
opacity: 1
},
stroke: {
color: "green",
width: 4,
dashType: "longDashDot",
opacity: 0.5
}
}
}
},
layers: [{
type: "bubble",
dataSource: {
data: [{
"location": [42, 12], "value": 10
}, {
"location": [45, 15], "value": 25
}]
}
}]
});
</script>
Related Properties
- layerDefaults.bubble.style.stroke
- layerDefaults.bubble.style.stroke.color
- layerDefaults.bubble.style.stroke.dashType
- layerDefaults.bubble.style.stroke.opacity
- layerDefaults.bubble.style.stroke.width
- layerDefaults.bubble.style.fill
- layerDefaults.bubble.style.fill.color
- layerDefaults.bubble.style.fill.opacity