Geoportal Extension for Itowns API Reference

Global

Members

PositionFormater

...

Methods

addBuildings(options)

Itowns/Controls/Buildings.js, line 242

Adds or removes the buildings layer on click

Name Type Description
options options

for the buildings control

changeBoost(reliefValue)

Itowns/Controls/BoostRelief.js, line 232

Updates relief slider and all elevation layers with the given boost value

Name Type Description
reliefValue Number

relief value

setBuildingsVisibility(layerId)

Itowns/Controls/Buildings.js, line 305

Set the buildings visibility on click

Name Type Description
layerId Tring

layer id for the building layer

Events

attributions:update

Itowns/Controls/Attributions.js, line 266

event triggered when the attributions are updated

Type:
  • Object
Properties:
Name Type Description
attributions Map

list of attributions