new Composite()
facade/js/style/Composite.js, line 18
Methods
-
add(styles){M.style.Composite}
facade/js/style/Composite.js, line 55 -
This function adds styles of style Composite
Name Type Description styles
M.style | Array.<M.Style> -
apply(layer)
facade/js/style/Composite.js, line 37 -
This function apply style
Name Type Description layer
M.layer.Vector Layer to apply the styles
-
clear()
facade/js/style/Composite.js, line 126 -
This function clears the style Composite
-
getOldStyle(){M.Style}
facade/js/style/Composite.js, line 116 -
This function returns the old style of layer..
Returns:
array styles
-
This function returns the array of styles.
Returns:
array styles
-
remove(styles){M.style.Composite}
facade/js/style/Composite.js, line 82 -
This function remove styles of style Composite
Name Type Description styles
M.style | Array.<M.Style> -
unapply(layer)
facade/js/style/Composite.js, line 163 -
This function unapply the style to specified layer
Name Type Description layer
M.layer.Vector layer to unapply his style
-
unapplySoft(layer)
facade/js/style/Composite.js, line 154 -
This function unapply the style to specified layer
Name Type Description layer
M.layer.Vector layer to unapply his style