Class: Fold

ol.filter. Fold

Fold filer map


new Fold( [options])

Parameters:
Name Type Argument Description
options Object <optional>
Properties
Name Type Argument Default Description
fold[8,4] Array.<number> <optional>

number of fold (horizontal and vertical)

margin number <optional>
8

margin in px, default 8

padding number <optional>
8

padding in px, default 8

fsize number | Array.<number> <optional>
[8,10]

fold size in px, default 8,10

fill boolean <optional>
false

true to fill the background, default false

shadow boolean <optional>
true

true to display shadow

opacity boolean <optional>
.2

effect opacity

Requires:
  • module:ol.filter

Extends

Requires

  • module:ol.filter

Methods


getActive()

Get filter active

Inherited From:
Overrides:
Returns:
Type
boolean

setActive(b)

Activate / deactivate filter

Parameters:
Name Type Description
b boolean
Inherited From:
Overrides: