Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 776 Bytes

CHANGELOG.md

File metadata and controls

20 lines (18 loc) · 776 Bytes

Change log

==============

v1.0.0 2016-11-12

see #8 and #10

  • ol.control.Toggle inherits from ol.control.Button (this means you have to add the ol.control.Button.js to your pages).
  • Move subbar from ol.control.Bar to ol.control.Toggle.
    Instead of:
var c = new ol.control.Toggle ();
bar.addControl (c, subbar);

use:

var c = new ol.control.Toggle ({ bar: subbar });
bar.addControl (c);
  • add autoActive option to ol.control.Toggle to auto activate the control when inserted in a subbar
  • add autoDeactivate option to ol.control.Bar to auto deactivate all controls in a subbar when desactivating it