GenericSPAddWmsOverlay Method |
Insert a WMS overlay into the current SWD.
Namespace:
Cadcorp.GFB.CadcorpSP
Assembly:
Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxpublic virtual void AddWmsOverlay(
string url,
string layerParams,
string overlayName,
int position,
double minscale,
double maxscale,
double transparency
)
Public Overridable Sub AddWmsOverlay (
url As String,
layerParams As String,
overlayName As String,
position As Integer,
minscale As Double,
maxscale As Double,
transparency As Double
)
Parameters
- url
- Type: SystemString
The base URL of the WMS. - layerParams
- Type: SystemString
The parameter string to be appended to the URL. - overlayName
- Type: SystemString
The display name of the overlay. - position
- Type: SystemInt32
The position to insert at. - minscale
- Type: SystemDouble
Minimum scale threshold for the overlay. - maxscale
- Type: SystemDouble
Maximum scale threshold for the overlay. - transparency
- Type: SystemDouble
The transprency of the overlay (0=solid to 1=completely transparent)
See Also