Cool extensions for OpenLayers (ol).
ol-ext is a set of extensions, controls, interactions to use with Openlayers.
View live examples online or the API documentation.
! ol3-ext is now ol-ext !
ol3-ext has been renamed to ol-ext and is now available on NPM: update your bookmark and your code.
Keywords: CSS popup, Font Awesome symbol renderer, charts for statistical map (pie/bar), layer switcher, wikipedia layer, animations
- For use in a web page install the npm openlayers-ext package:
npm install openlayers-ext
The library will be avaliable in the node_modules/openlayers-ext/dist
directory. You can find individual files in the node_modules/openlayers-ext/lib
directory.
- You can download the scripts of the ./dist directory of the repository in your project and insert the .js and .css in your page.
- If you just want to add a
<script>
tag to test things out, you can link directly to the builds from the github rawgit (not recommended in production).
<!-- jQuery -->
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<!-- Openlayers -->
<link rel="stylesheet" href="https://openlayers.org/en/latest/css/ol.css" />
<script type="text/javascript" src="https://openlayers.org/en/latest/build/ol.js"></script>
<!-- OL-ext -->
<link rel="stylesheet" href="https://cdn.rawgit.com/Viglino/ol-ext/master/dist/ol-ext.min.css" />
<script type="text/javascript" src="https://cdn.rawgit.com/Viglino/ol-ext/master/dist/ol-ext.min.js"></script>
- For use with webpack, Rollup, Browserify, or other module bundlers, install the npm ol-ext package and link to the node_modules directory:
npm install ol-ext
- Check out the darkscript/ol-ol-ext-webpack-example repo for a good example of working with ol-ext npm version and bundler (webpack)
Check out the hosted examples or the API documentation.
Please see our contributing guidelines if you're interested in getting involved.
Please use the GitHub issue tracker for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.
ol-ext is licensed under the French Opensource BSD compatible CeCILL-B FREE SOFTWARE LICENSE.
(c) 2016-2017 - Jean-Marc Viglino
Some resources (mapping services and API) used in this sofware may have a specific license.
You must check before use.
For convenience you can use the BSD licence instead when publish content to webpack.