Using ol-layerswitcher with bundlers

August 5, 2018 ยท View on GitHub

All examples use the "new" ol package and the ol-layerswitcher.

  • Parcel
  • Webpack
  • Browserify - :warning: only currently OpenLayers v4, see the Browserify README.

To use the examples, clone the repository then follow the instructions within the README for the bundler you're interested in using.