Geoportal Extension for Itowns API Reference

Class: GeoportalElevation

itowns.layer.GeoportalElevation

Geoportal elevation source creation

new GeoportalElevation(options)

Itowns/Layer/LayerElevation.js, line 24
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

itownsParams Object optional

options to overload default geoportal layer 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 geoportalElevation = new itowns.layer.GeoportalElevation({
     layer  : "ELEVATION.ELEVATIONGRIDCOVERAGE"
});