MapBuilder.Zoom(Double) Method
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
public MapBuilder Zoom(
double value
)
Parameters
Name | Type | Description |
---|---|---|
value | Double | The option value. |
Returns
Type | Description |
---|---|
MapBuilder | 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