Angular controller

controller source

Description

Controller for displaying and setting parameters for wmts and its layers, which will be added to map afterwards

Methods

addLayer (layer)

Add layer to map

Parameters

NameTypeDescription
layer object

Wrapped layer to add

setCurrentLayer (layer, index)

Opens detailed view for manipulating layer

Parameters

NameTypeDescription
layer object

Wrapped layer to edit or view

index number

Used to position the detail panel after layers li element