Skip to main content

VectorMapBuilder.ZoomFactor(Double) Method

Specifies a number that is used to zoom a map initially. Mirrors the client-side zoomFactor option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public VectorMapBuilder ZoomFactor(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
VectorMapBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().VectorMap()
    .ZoomFactor(1)
)
See Also