Initializes a new instance of the WmsLayer class with the specified service URL.


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

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal serviceUrl As String,  _ 
   ByVal extent As Rectangle _ 
)
C#
public WmsLayer(
   string serviceUrl,
   Rectangle extent
)
C++
public:
 WmsLayer(
   String serviceUrl,
   Rectangle extent
) sealed 
J#
public WmsLayer(
   string serviceUrl,
   Rectangle extent
)
JScript
public function WmsLayer(
   serviceUrl : String,
   extent : Rectangle
)

Parameters

serviceUrl
Specifies the URL to a web map service.
extent
Specifies the extent of the map.

See Also