Home

Awesome

OpenLayers + ol-ext + Webpack

This example demonstrates how ol and ol-ext packages can be used with webpack 2.

Clone the project.

git clone https://github.com/darkscript/ol-ol-ext-webpack-example.git

Install the project dependencies.

cd ol-webpack
npm install

Create a bundle for the browser.

npm run build

Open index.html to see the result.

open index.html

Map with openlayers and ol-ext controls

For more information, go to ol-ext examples. Also go to to Openlayers.