Geoportal Extension for OpenLayers 3 API Reference

Class: GeoportalWMTS

ol.source.GeoportalWMTS

Geoportal WMTS source creation (inherit from ol.source.WMTS)

new GeoportalWMTS(options)

Ol3/Layers/SourceWMTS.js, line 39
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.source.WMTS function (see ol.source.WMTS)

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

Extends

  • WMTSExtended