Geoportal Extension for Itowns API Reference

Class: GeoportalWMS

itowns.layer.GeoportalWMS

Geoportal WMTS source creation

new GeoportalWMS(options)

Itowns/Layer/LayerWMS.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 geoportalWMS = new itowns.layer.GeoportalWMS({
     layer  : "ORTHOIMAGERY.ORTHOPHOTOS"
});