Skip to main content

WmsDataProvider.CustomParameters Property

Returns a collection of custom parameters for a web map service request.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public WmsCustomParameterCollection CustomParameters { get; }

Property Value

Type Description
WmsCustomParameterCollection

A WmsCustomParameterCollection object that contains key-value pairs.

Remarks

The following example adds two custom parameters to the CustomParameters collection:

 <dxm:WmsDataProvider x:Name="WmsDataProvider1"
                      ServerUri="http://INSERT_YOUR_SERVER_URI"
                      ActiveLayerName="Layer_OSM"/>
WmsDataProvider1.CustomParameters.Add("format", "Image / jpeg");
WmsDataProvider1.CustomParameters.Add("ver", "3.24");
See Also