MapLayerDefaultsBubbleStyleFillSettingsBuilder
Methods
Color(System.String)
The default fill color for bubble layer symbols. Accepts a valid CSS color string, including hex and rgb.
Parameters
value - System.String
The value for Color
RETURNS
Returns the current MapLayerDefaultsBubbleStyleFillSettingsBuilder instance.
Example
Razor
@(Html.Kendo().Map()
.Name("map")
.LayerDefaults(layerDef =>
{
layerDef.Bubble(b => b.Style(style => style.Fill(fill => fill.Color("#00f"))));
})
)
Opacity(System.Double)
The default fill opacity (0 to 1) for layer symbols.
Parameters
value - System.Double
The value for Opacity
RETURNS
Returns the current MapLayerDefaultsBubbleStyleFillSettingsBuilder instance.
Example
Razor
@(Html.Kendo().Map()
.Name("map")
.LayerDefaults(layerDef =>
{
layerDef.Bubble(b => b.Style(style => style.Fill(fill => fill.Opacity(1))));
})
)