All examples use the "new" ol
package and the ol-layerswitcher.
- Parcel
- Webpack
- Browserify -
⚠️ 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.