Geoportal Extension for OpenLayers API Reference

Class: GeoportalWMTS

ol.layer.GeoportalWMTS

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

new GeoportalWMTS(options)

OpenLayers/Layers/LayerWMTS.js, line 25
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.WMTS function (see ol.source.WMTS)

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

Extends

  • ol.layer.Tile