1.1.4 • Published 6 years ago

test-ext v1.1.4

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
6 years ago

ol-ext

Cool extensions for OpenLayers (ol/ol3/ol4).

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

Font style Charts npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io npm.io

Getting Started

using ol-ext in a web page

  • Just download the build script in the dist directory of the project.
  • 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/master/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/gh-pages/dist/ol-ext.min.css" />
<script type="text/javascript" src="https://cdn.rawgit.com/Viglino/ol-ext/gh-pages/dist/ol-ext.min.js"></script>
npm install ol-ext

using ol-ext in a webpack

Visit the this repository for a good example of working with ol-ext npm version and bundler (webpack)

building the project

Use the gulp command to build the project into the /dist directory:

gulp

Documentation

Check out the hosted examples or the API documentation.

Building the documenctation:

The documentation use gulp-jsdoc3 to create the doc. 1. install the gulp-jsdoc3 project at the root directory:

npm install gulp-jsdoc3
  1. then run the gulp command to create the doc in the doc/doc-pages directory:
gulp doc

Bugs

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.

Licence

ol-ext is licenced 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.

Full text license in English
Full text license in French

For convenience you can use the BSD licence instead when publish content to webpack.