Geoportal Extension for Itowns API Reference

Class: GeoportalWMTS

itowns.layer.GeoportalWMTS

Geoportal WMTS source creation

new GeoportalWMTS(options)

Itowns/Layer/LayerWMTS.js, line 24
Name Type Description
options Object

options for function call.

Name Type Default Description
layer String

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

ssl Boolean true optional

use of ssl or not (default true, service requested using https protocol)

apiKey String optional

Access key to Geoportal platform

itownsParams Object optional

other options for itowns.GlobeView.addLayer function (see href="http://www.itowns-project.org/itowns/API\_Doc/GlobeView.html#addLayer">www.itowns-project.org/itowns/API\_Doc/GlobeView.html#addLayer GlobeView.addLayer)

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