Skip to main content

VectorMapBuilder.Projection(String) 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(
    string value
)

Parameters

Name Type Description
value String

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("mercator")
)
See Also