Geoportal Extension for Itowns API Reference

Class: GeoportalElevation

itowns.layer.GeoportalElevation

Geoportal elevation source creation

new GeoportalElevation(options)

Itowns/Layer/LayerElevation.js, line 39
Name Type Description
options Object

options for function call.

Name Type Description
layer String

Elevation layer name (e.g. "ELEVATION.ELEVATIONGRIDCOVERAGE")

ssl Boolean optional

if set true, enforce protocol https (only for nodejs)

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

options to overload default geoportal layer options for itowns.GlobeView.addLayer function (see GlobeView.addLayer)

Example
var geoportalElevation = new itowns.layer.GeoportalElevation({
     layer  : "ELEVATION.ELEVATIONGRIDCOVERAGE"
});