Geoportal Extension for OpenLayers
API Reference

Class: Group

ol.style.editor.Group

MapBox group management

new Group(options)

Controls/Editor/Group.js, line 24
Name Type Description
options Object

options for function call.

Example
var group = new Group ({
     title : "MyGroup",
     collapse : true, // plier/deplier
     target : ...
  });
  group.add();
  group.add();

Methods

add()

Controls/Editor/Group.js, line 113

Add element into target DOM

display(display)

Controls/Editor/Group.js, line 135

Set display container (DOM)

Name Type Description
display Boolean

show/hidden container

getContainer(){DOMElement}

Controls/Editor/Group.js, line 144

Get container (DOM)

Returns:
element