LayerWMS
WMS Layer
Constructor Summary
Public Constructor | ||
public |
constructor(url: String, options: Object) Constructor |
Method Summary
Public Methods | ||
public |
addToMapView(mapview: *) |
Public Constructors
public constructor(url: String, options: Object) source
Constructor
Params:
Name | Type | Attribute | Description |
url | String | service address |
|
options | Object | setting options |
|
options.version | String | service version |
|
options.layers | String | layers collection, multiple layer writing:"1,2,3,4" |
|
options.styles | String | styles collection, multiple style writing:"default,default,default,default" |
|
options.format | String | image format |
|
options.CRS | String | projection, such as: EPSG:3857 |
Public Methods
public addToMapView(mapview: *) source
Params:
Name | Type | Attribute | Description |
mapview | * |