Click or drag to resize

XMapLayerFactoryUpdateXMapProfiles Method

Updates the profiles to be used in xMap Server requests.

Namespace:  Ptv.XServer.Controls.Map.Layers
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static void UpdateXMapProfiles(
	this LayerCollection layers,
	string profileBackground,
	string profileLabels
)

Parameters

layers
Type: Ptv.XServer.Controls.MapLayerCollection
The LayerCollection instance.
profileBackground
Type: SystemString
The profile to be used in the background layer.
profileLabels
Type: SystemString
The profile to be used in the label layer.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type LayerCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also