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 119

Add element into target DOM

display(display)

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

Set display container (DOM)

Name Type Description
display Boolean

show/hidden container

getContainer(){DOMElement}

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

Get container (DOM)

Returns:
element