ui/layers/panels/dataviews

The dataviews panel module exports the dataviews method.

Requires

Methods

(inner) dataviews(layer) → {HTMLElement}

mapp.ui.layers.panels.dataviews(layer)

The dataviews method returns a drawer with checkbox elements for each dataview object in layer.dataviews{}.

The dataviews will be decorated with the mapp.ui.Dataview() method.

Parameters:
NameTypeDescription
layerlayer

The decorated mapp layer object.

Properties
NameTypeDescription
dataviewsObject

The layer dataviews.

Returns:
Type: 
HTMLElement