Appearance
WmsLayer (WMS Service Layer)
Layer for loading WMS services.
Constructor
ts
new ge3d.object.WmsLayer(options: any): WmsLayerParameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| url | Cesium.Resource/String | - | WMS service URL |
| layers | String | - | Layers to include, separated by commas |
| parameters | Object | - | Additional parameters to pass to WMS service GetMap request in URL |
| crs | String | - | CRS specification, used for WMS specification >= 1.3.0 |
| srs | String | - | SRS specification, used with WMS specification 1.1.0 or 1.1.1 |
| highlight | Object | - | Vector data and its style highlighted by mouse click |
Properties
| Property | Type | Description |
|---|---|---|
| id | any | Object id identifier |
| name | any | Name identifier |
| show | any | Show/hide state |
| opacity | any | Opacity, range 0.0-1.0 |
| brightness | any | Brightness |
| contrast | any | Contrast |
Methods
setOpacity
Set opacity
ts
setOpacity(value: any): voidtoJSON
Convert to JSON
ts
toJSON(): object