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

MapLayerDefaultsBingSettingsBuilder

Methods

Attribution(System.String)

Defines the attribution of all Bing (tm) layers.

Parameters

value - System.String

The value that configures the attribution.

Example


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


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


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


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


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

In this article
Not finding the help you need?