MapLayerDefaultsBubbleSettingsBuilder
Methods
Symbol(System.String)
Defines the default symbol for bubble layers. The possible values are "circle" and "square".
Parameters
symbol - System.String
The value that configures the default bubble layer symbol.
Example
@(Html.Kendo().Map()
.Name("map")
.LayerDefaults(layerDef =>
{
layerDef.Bubble(bubble => bubble.Symbol("square"));
})
)
SymbolHandler(System.String)
Sets a client-side function that will draw the default symbol for the bubble layers.
Parameters
handler - System.String
The name of the JavaScript function that will draw the symbol.
Example
@(Html.Kendo().Map()
.Name("map")
.LayerDefaults(layerDef =>
{
layerDef.Bubble(bubble => bubble.SymbolHandler("getDefaultSymbolType"));
})
)
<script>
function getDefaultSymbolType(data) {
...//return kendo.drawing.Shape
}
</script>
Attribution(System.String)
The attribution for all bubble layers.
Parameters
value - System.String
The value for Attribution
Opacity(System.Double)
The the opacity of all bubble layers.
Parameters
value - System.Double
The value for Opacity
MaxSize(System.Double)
The maximum symbol size for bubble layer symbols.
Parameters
value - System.Double
The value for MaxSize
MinSize(System.Double)
The minimum symbol size for bubble layer symbols.
Parameters
value - System.Double
The value for MinSize
Style(System.Action)
The default style for bubble layer symbols.
Parameters
configurator - System.Action<MapLayerDefaultsBubbleStyleSettingsBuilder>
The configurator for the style setting.
Symbol(Kendo.Mvc.UI.MapSymbol)
The bubble layer symbol type. Supported symbols are "circle" and "square".
Parameters
value - MapSymbol
The value for Symbol