Geoportal Extension for Itowns API Reference

Class: GeoportalWMS

itowns.layer.GeoportalWMS

Geoportal WMTS source creation

new GeoportalWMS(options)

Itowns/Layer/LayerWMS.js, line 38
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

legends Array optional

Overloads the default legends objects associated to the layer

metadata Array optional

Overloads the default Metadata objects associated to the layer

title String optional

Overloads the default title of the layer

description String optional

Overloads the default description of the layer

quicklookUrl String optional

Overloads the default quicklookUrl of the layer

itownsParams Object optional

other options for itowns.GlobeView.addLayer function (see GlobeView.addLayer)

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