Constructor
# new GroupLayer(opts)
Initialization object
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
opts |
object
|
Group layer options. |
||
name |
string
|
<optional> |
Layer name |
|
order |
number
|
<optional> |
The order for layer rendering. At rendering time, the layers will be ordered, first by order and then by position. When undefined, a order of 0 is assumed for layers that are added to the map's layers collection. |
|
visible |
boolean
|
<optional> |
true | Visibility |
layers |
Array.<BaseLayer>
|
<optional> |
Array of layers to be included in the group. |
- Tutorials:
Example
const layer = new Vexcel.Layers.GroupLayer();