Removes a layer from the Map.


Namespace: AspMap.Web
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Sub RemoveLayer( _ 
   ByVal layer As Layer _ 
)
C#
public void RemoveLayer(
   Layer layer
)
C++
public:
 void RemoveLayer(
   Layer layer
) sealed 
J#
public void RemoveLayer(
   Layer layer
)
JScript
public  function RemoveLayer(
   layer : Layer
)

Parameters

layer
An object expression that represents the layer.

See Also