MapBuilder.Zoom(Double) Method
In This Article
The map's zoom level. The UI component can change this value if autoAdjust is enabled. Mirrors the client-side zoom option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public MapBuilder Zoom(
double value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Double | The option value. |
#Returns
Type | Description |
---|---|
Map |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Map()
.Zoom(1)
)
See Also