Class WMSLayer
Extends
RasterLayer.
A layer to display WMS (Web Map Service) data.
Defined in: WMSLayer.js.
Constructor Attributes | Constructor Name and Description |
---|---|
WMSLayer(options)
|
Method Attributes | Method Name and Description |
---|---|
getUrl(tile)
Get an url for the given tile
|
Class Detail
WMSLayer(options)
- Parameters:
- options
- Configuration properties for the WMSLayer. See RasterLayer for base properties :
- baseUrl : the base Url to access the WMS server
- layers : the list of layers to request (WMS parameter)
- srs : the spatial system reference to use, default is EPSG:4326 (WMS parameter)
- format : the file format to request, default is image/jpeg (WMS parameter)
Method Detail
getUrl(tile)
Get an url for the given tile
- Parameters:
- tile