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

Defines the fluent API for configuring the MapControlsZoomSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class MapControlsZoomSettingsBuilder

Inheritance: objectMapControlsZoomSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public MapControlsZoomSettingsBuilder(MapControlsZoomSettings settings)
Parameters:settingsMapControlsZoomSettings

Methods

Sets the position of the zoom control.

C#
public MapControlsZoomSettingsBuilder Position(MapControlPosition value)
Parameters:valueMapControlPosition

The enum value that configures the zoom control position.

Returns:

MapControlsZoomSettingsBuilder

Example:
C#
@(Html.Kendo().Map()
.Name("map")
.Controls(controls => controls.Zoom(zoom => zoom.Position(MapControlPosition.TopLeft)))
)