Geoportal Extension for OpenLayers API Reference

Class: GeoportalWMS

ol.layer.GeoportalWMS

Geoportal LayerWMS source creation (inherit from ol.layer.Tile)

new GeoportalWMS(options)

OpenLayers/Layers/LayerWMS.js, line 24
Name Type Description
options Object

options for function call.

Name Type Description
layer String

Layer name (e.g. "ORTHOIMAGERY.ORTHOPHOTOS")

ssl Boolean optional

if set true, enforce protocol https (only for nodejs)

apiKey String optional

Access key to Geoportal platform

olParams Object optional

other options for ol.layer.Tile function (see ol.layer.Tile)

Name Type Description
sourceParams Object optional

other options for ol.source.TileWMS function (see ol.source.TileWMS)

Example
var layerWMS = new ol.layer.GeoportalWMS({
     layer  : "ORTHOIMAGERY.ORTHOPHOTOS"
});

Extends

  • ol.layer.Tile