Skip to main content

VectorMapBuilder.Projection(VectorMapProjection) Method

Specifies the map projection. Mirrors the client-side projection option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public VectorMapBuilder Projection(
    VectorMapProjection value
)

Parameters

Name Type Description
value VectorMapProjection

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()
    .Projection(VectorMapProjection.Equirectangular)
)
See Also