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

MapLayerDefaultsBubbleStyleSettingsBuilder

Methods

Fill(System.Action)

Defines the default fill options for the Bubble layer symbols.

Parameters

configurator - System.Action<MapLayerDefaultsBubbleStyleFillSettingsBuilder>

The action that configures the fill settings.

Example


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

Stroke(System.Action)

Defines the default stroke options for the Bubble layer symbols.

Parameters

configurator - System.Action<MapLayerDefaultsBubbleStyleStrokeSettingsBuilder>

The action that configures the stroke settings.

Example


             @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bubble(b => b.Style(style => style.Stroke(stroke => stroke.Color("green").Width(4))));
                })
             )

In this article
Not finding the help you need?