Method | Description | |
---|---|---|
AddLayer ( string name ) : void |
Adds a layer to WMS request Layer names are case sensitive. |
|
AddStyle ( string name ) : void |
Adds a style to the style collection
|
|
Clone ( ) : object |
Clones the object
|
|
GetRequestUrl ( SharpMap box, System size ) : string |
Gets the URL for a map request base on current settings, the image size and boundingbox
|
|
RemoveAllLayers ( ) : void |
Removes all layers
|
|
RemoveAllStyles ( ) : void |
Removes all styles from the list
|
|
RemoveLayer ( string name ) : void |
Removes a layer from the layer list
|
|
RemoveLayerAt ( int index ) : void |
Removes the layer at the specified index
|
|
RemoveStyle ( string name ) : void |
Removes a style from the collection
|
|
RemoveStyleAt ( int index ) : void |
Removes a style at specified index
|
|
Render ( System g, Map map ) : void |
Renders the layer
|
|
SetImageFormat ( string mimeType ) : void |
Sets the image type to use when requesting images from the WMS server See the OutputFormats property for a list of available mime types supported by the WMS server |
|
WmsLayer ( string layername, string url ) : System |
Initializes a new layer, and downloads and parses the service description In and ASP.NET application the service description is automatically cached for 24 hours when not specified |
|
WmsLayer ( string layername, string url, System.TimeSpan cachetime ) : System |
Initializes a new layer, and downloads and parses the service description
|
Method | Description | |
---|---|---|
GetPreferredMethod ( ) : SharpMap.Web.Wms.Client.WmsOnlineResource | ||
LayerExists ( SharpMap layer, string name ) : bool |
Recursive method for checking whether a layername exists
|
|
StyleExists ( SharpMap layer, string name ) : bool |
Recursive method for checking whether a layername exists
|
public AddLayer ( string name ) : void | ||
name | string | Name of layer |
return | void |
public AddStyle ( string name ) : void | ||
name | string | Name of style |
return | void |
public GetRequestUrl ( SharpMap box, System size ) : string | ||
box | SharpMap | Area the WMS request should cover |
size | System | Size of image |
return | string |
public RemoveLayer ( string name ) : void | ||
name | string | Name of layer to remove |
return | void |
public RemoveStyle ( string name ) : void | ||
name | string | Name of style |
return | void |
public Render ( System g, Map map ) : void | ||
g | System | Graphics object reference |
map | Map | Map which is rendered |
return | void |
public SetImageFormat ( string mimeType ) : void | ||
mimeType | string | Mime type of image format |
return | void |
public WmsLayer ( string layername, string url ) : System | ||
layername | string | |
url | string | |
return | System |
public WmsLayer ( string layername, string url, System.TimeSpan cachetime ) : System | ||
layername | string | |
url | string | Url of service description |
cachetime | System.TimeSpan | Time for caching Service Description (ASP.NET only) |
return | System |