Geoportal Extension for OpenLayers API Reference

Class: Group

ol.style.editor.Group

MapBox group management

new Group(options)

OpenLayers/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()

OpenLayers/Controls/Editor/Group.js, line 113

Add element into target DOM

display(display)

OpenLayers/Controls/Editor/Group.js, line 135

Set display container (DOM)

Name Type Description
display Boolean

show/hidden container

getContainer(){DOMElement}

OpenLayers/Controls/Editor/Group.js, line 144

Get container (DOM)

Returns:
element