Skip to content

Latest commit

 

History

History
86 lines (60 loc) · 2.48 KB

CHANGELOG.md

File metadata and controls

86 lines (60 loc) · 2.48 KB

Changelog

4.1.2

  • Remove polyfill.io from examples, see #503

4.1.1

  • Minor CSS tweak to avoid button outline being clipped
  • Update data used by examples
    • The OSN boundary data appears to no longer be available so it's been replaced with some USA sample data thanks to ESRI.
  • Fix sidebar example
    • The sidebar component (https://github.com/Turbo87/sidebar-v2) isn't currently compatible with OpenLayers 7 due to the JS being an ES5 prototype based class, an updated ES6 class version is now included in the examples directory.

4.1.0

  • Replaced ol/PluggableMap with ol/Map in definition file. #490

4.0.0

  • Add support for OpenLayers v7
  • BREAKING CHANGE: dist/ol-layerswitcher.js is no longer transpiled to ES5 in order to support ol v7

4.0.0-beta.1

  • Add support for OpenLayers v7
  • BREAKING CHANGE: dist/ol-layerswitcher.js is no longer transpiled to ES5 in order to support ol v7

3.8.3

  • Add style field to package.json

Should allow tools like npm-css, rework-npm, and npm-less to import the CSS by package name instead of specifying the full path.

@import "ol-layerswitcher";

3.8.2

  • Include src/ol-layerswitcher.css in package to avoid breaking change

3.8.1

  • Extended layer options now extend ol options directly, improves documentation and completion
  • All interfaces and types are exported as named exports so they can be used as needed in TypeScript projects

3.8.0

  • Build plain dist/ol-layerswitcher.js from .ts source as well as TypeScript type definition
  • Improved docs
  • BREAKING CHANGE: ol-layerswitcher.css has moved from src to dist in the published package and hence unpkg.com etc. The path is now: ol-layerswitcher/dist/ol-layerswitcher.css when importing via Webpack, Parcel etc. or dist/ol-layerswitcher.css when loading from unpkg.com.

3.8.0-beta.1

  • Improve docs
  • Format and lint

3.8.0-beta.0

  • Migrate source to TypeScript
  • Build .js from .ts as well as TypeScript type definition

v3.7.0

  • New option: startActive - whether panel is open when created. Defaults to false.
  • New option: collapseTipLabel - the button tooltip when the panel is open.
  • Update layout when activationMode: 'click' - When open displays a button to hide the panel.
  • Improve wrapping of long titles (see screenshots in #358).
  • Format everything with Prettier and lint with ESLint.