public static class ControlLayersOptions.Builder extends Object
| Constructor and Description | 
|---|
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
ControlLayersOptions.Builder | 
autoZIndex(Boolean autoZIndex)
If true, the control will assign zIndexes in increasing order to all of its layers so that the order is preserved when switching them on/off. 
 | 
ControlLayersOptions | 
build()
Builds the ControlLayersOptions new instance 
 | 
ControlLayersOptions.Builder | 
collapsed(Boolean collapsed)
If true, the control will be collapsed into an icon and expanded on mouse hover or touch. 
 | 
ControlLayersOptions.Builder | 
position(String position)
The position of the control (one of the map corners). 
 | 
public ControlLayersOptions.Builder position(String position)
position - the positionpublic ControlLayersOptions.Builder collapsed(Boolean collapsed)
collapsed - the collapsedpublic ControlLayersOptions.Builder autoZIndex(Boolean autoZIndex)
autoZIndex - the auto Z indexpublic ControlLayersOptions build()
Copyright © 2018 G-Widgets. All rights reserved.