Skip to main content

WmsCustomParameterCollection.Add(String, String) Method

Adds a parameter key and value to the WmsCustomParameterCollection.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public void Add(
    string key,
    string value
)

Parameters

Name Type Description
key String

A custom parameter key.

value String

A custom parameter value.

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