Geoportal Extension for OpenLayers 3 API Reference

Class: GeoportalWMTS

ol.layer.GeoportalWMTS

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

new GeoportalWMTS(options)

Ol3/Layers/LayerWMTS.js, line 35
Name Type Description
options Object

options for function call.

Name Type Description
layer String

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

apiKey String optional

Access key to Geoportal platform

olParams Object optional

other options for ol.layer.Tile function (see http://openlayers.org/en/v3.11.2/apidoc/ol.layer.Tile.html)

Name Type Description
sourceParams Object optional

other options for ol.source.WMTS function (see http://openlayers.org/en/v3.11.2/apidoc/ol.source.WMTS.html)

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

Extends

  • ol.layer.Tile