new GeoportalWMS(GeoportalWMSoptions)
OpenLayers/Layers/LayerWMS.js, line 32
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
GeoportalWMSoptions | Object |
options for function call. |
||||||
options.layer | String |
Layer name (e.g. "ORTHOIMAGERY.ORTHOPHOTOS") |
||||||
options.ssl | Boolean |
optional
if set true, enforce protocol https (only for nodejs) |
||||||
options.apiKey | String |
optional
Access key to Geoportal platform |
||||||
options.olParams | Object |
optional
other options for ol.layer.Tile function (see ol.layer.Tile)
|
Example
var layerWMS = new ol.layer.GeoportalWMS({
layer : "ORTHOIMAGERY.ORTHOPHOTOS"
});
Extends
- ol.layer.Tile