The requested page is not available for the requested platform. You are viewing the content for Default platform.

VectorMapBuilder.Layers(Action<CollectionFactory<VectorMapLayerBuilder>>) Method

This method sets the client-side layers option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public VectorMapBuilder Layers(
    Action<CollectionFactory<VectorMapLayerBuilder>> configurator
)

Parameters

Name Type Description
configurator Action<CollectionFactory<VectorMapLayerBuilder>>

Returns

Type Description
VectorMapBuilder

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().VectorMap().Layers(...)
See Also