Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LayersOptions

Hierarchy

  • LayersOptions

Index

Properties

Optional autoZIndex

autoZIndex: boolean

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.

Default value: true.

Optional collapsed

collapsed: boolean

If true, the control will be collapsed into an icon and expanded on mouse hover or touch.

Default value: true.

Optional position

position: string

The position of the control (one of the map corners). See control positions.

Default value: 'topright'.