New to Telerik UI for ASP.NET MVC? Download free 30-day trial

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


             @(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


             @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bubble(b => b.Style(style => style.Fill(fill => fill.Opacity(1))));
                })
             )

In this article
Not finding the help you need?