MapLayerDefaultsBubbleStyleFillSettingsBuilder

Methods

Color(System.String)

Defines the default fill color for the Bubble layer symbols. The options accepts a valid CSS color string, including HEX and Rgb.

Parameters

value - System.String

The value that configures the color.

Example

Razor
 
             @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bubble(b => b.Style(style => style.Fill(fill => fill.Color("#00f"))));
                })
             )
             

Opacity(System.Double)

Defines the default fill opacity (0 to 1) for the Bubble layer symbols.

Parameters

value - System.Double

The value that configures the opacity.

Example

Razor
 
             @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bubble(b => b.Style(style => style.Fill(fill => fill.Opacity(1))));
                })
             )
             
In this article
MethodsColor(System.String)Opacity(System.Double)
Not finding the help you need?
Contact Support