# 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.

#### RETURNS

Returns the current [MapLayerDefaultsBubbleSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubblesettingsbuilder) instance.

#### 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. String values are HTML-encoded by default. To render trusted HTML, pass an object with a text property and set encoded: false.

#### Parameters

##### attribution - `System.String`

The attribution.

#### RETURNS

Returns the current instance of [MapLayerDefaultsBubbleSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubblesettingsbuilder) .

### Attribution(System.Action)

The attribution for all bubble layers. String values are HTML-encoded by default. To render trusted HTML, pass an object with a text property and set encoded: false.

#### Parameters

##### configurator - System.Action<[MapLayerDefaultsBubbleAttributionSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubbleattributionsettingsbuilder)>

The configurator for the attribution setting.

#### RETURNS

Returns the current instance of [MapLayerDefaultsBubbleSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubblesettingsbuilder) .

### Opacity(System.Double)

The opacity of all bubble layers.

#### Parameters

##### value - `System.Double`

The value for Opacity

#### RETURNS

Returns the current [MapLayerDefaultsBubbleSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubblesettingsbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bubble(b => b.Opacity(0.5));
                })
             )
             
```

### MaxSize(System.Double)

The maximum symbol size for bubble layer symbols.

#### Parameters

##### value - `System.Double`

The value for MaxSize

#### RETURNS

Returns the current [MapLayerDefaultsBubbleSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubblesettingsbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bubble(b => b.MaxSize(50));
                })
             )
             
```

### MinSize(System.Double)

The minimum symbol size for bubble layer symbols.

#### Parameters

##### value - `System.Double`

The value for MinSize

#### RETURNS

Returns the current [MapLayerDefaultsBubbleSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubblesettingsbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bubble(b => b.MinSize(10));
                })
             )
             
```

### Style(System.Action)

The default style for bubble layer symbols.

#### Parameters

##### configurator - System.Action<[MapLayerDefaultsBubbleStyleSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubblestylesettingsbuilder)>

The configurator for the style setting.

#### RETURNS

Returns the current instance of [MapLayerDefaultsBubbleSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubblesettingsbuilder) .

### Symbol(Kendo.Mvc.UI.MapSymbol)

The bubble layer symbol type. Supported symbols are "circle" and "square".

#### Parameters

##### value - [MapSymbol](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/mapsymbol)

The value for Symbol

#### RETURNS

Returns the current [MapLayerDefaultsBubbleSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/maplayerdefaultsbubblesettingsbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bubble(b => b.Symbol("circle"));
                })
             )
             
```
