MapLayerDefaultsBingSettingsBuilder

Methods

Attribution(System.String)

Defines the attribution of all Bing (tm) layers.

Parameters

value - System.String

The value that configures the attribution.

Example

Razor
 
             @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bing(b => b.Attribution("© Microsoft"));
                })
             )
             

Opacity(System.Double)

Defines the opacity of all Bing (tm) tile layers.

Parameters

value - System.Double

The value that configures the opacity.

Example

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

Key(System.String)

Defines the API key of all Bing (tm) tile layers.

Parameters

value - System.String

The value that configures the key.

Example

Razor
 
             @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bing(b => b.Key("API key"));
                })
             )
             

Culture(System.String)

Sets the culture to be used for the Bing Map tiles.

Parameters

value - System.String

The value that configures the culture.

Example

Razor
 
             @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bing(b => b.Culture("de-DE"));
                })
             )
             

ImagerySet(Kendo.Mvc.UI.MapLayersImagerySet)

Defines the type of all Bing tile layers.

Parameters

value - MapLayersImagerySet

The value that configures the type of the tiles.

Example

Razor
 
             @(Html.Kendo().Map()
               .Name("map")
               .LayerDefaults(layerDef =>
               {
                  layerDef.Bing(b => b.ImagerySet(MapLayersImagerySet.AerialWithLabels));
                })
             )