Move to ol v6
- bug ol/ext/inherits
Bug correction, ES6 fix
Remove Jquery dependencies: the library has now removed jQuery from its dependencies.
If you use jQuery in your project you may have to pass options using the $obj.get(0)
function instead of passing the jQuery object.
- Add new story map controls
Start removing jQuery dependencies.
Migrate to ol5 modules #123
Last version using ol<5
Remove deprecated methods
Search controls, GeolocationBar...
Remove dist from npm and create openlayers-ext package to use with browser.
Use ES6 module syntax #33 Use ./dist in a web page
This is the last v1 release.
- Next release (v2) will use ES6 module syntax #33.
- Switch to the
./dist/ol-ext.js
to keep on running on next version.
change project name ol-ext is now ol-ext
ol.control.Toggle
inherits fromol.control.Button
(this means you have to add the ol.control.Button.js to your pages).- Move subbar from
ol.control.Bar
tool.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 tool.control.Toggle
to auto activate the control when inserted in a subbar - add
autoDeactivate
option tool.control.Bar
to auto deactivate all controls in a subbar when desactivating it