• Stars
    star
    1,219
  • Rank 38,465 (Top 0.8 %)
  • Language
    JavaScript
  • License
    Other
  • Created about 9 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cool extensions for Openlayers (ol) - animated clusters, CSS popup, Font Awesome symbol renderer, charts for statistical map (pie/bar), layer switcher, wikipedia layer, animations, canvas filters.

ol-ext

Cool extensions for OpenLayers (ol).


ol-ext is a set of extensions, controls, interactions, popup to use with Openlayers.
View live examples online or the API documentation.

Keywords: Storymap, Timeline control, CSS popup, Font Awesome symbols, charts for statistical map (pie/bar), layer switcher, control bar, wikipedia layer, legend control, search, animations, undo/redo mechanisms

Getting Started

NPM packages

ol-ext exists as ES6 modules (ol-ext) and as pure js (deprecated! openlayers-ext).

using ol-ext in a webpack

  • 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

See the following examples for more detail on bundling ol-ext with your application:

Typescript declarations are avaliable at Siedlerchr/types-ol-ext.

npm i -D @types/ol-ext@npm:@siedlerchr/types-ol-ext

using ol-ext in a web page

npm install openlayers-ext

The library will be available 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).
  • For compatibility with older browsers and platforms (like Internet Explorer down to version 9 and Android 4.x), the OpenLayers needs to be transpiled (e.g. using Babel) and bundled with polyfills for requestAnimationFrame, Element.prototype.classList, Object.assignand URL.
<!-- 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>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL,Object.assign"></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>

supported Browsers

ol-ext runs on all modern browsers that support HTML5 and ECMAScript 5. This includes Chrome, Firefox, Safari and Edge. For older browsers and platforms like Internet Explorer (down to version 9) and Android 4.x, polyfills for for requestAnimationFrame, Element.prototype.classList, Object.assignand URL.

Documentation

Check out the hosted examples or the API documentation.

Contributing

Please see our contributing guidelines if you're interested in getting involved.

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.

License

ol-ext is licensed under the French Opensource BSD compatible CeCILL-B FREE SOFTWARE LICENSE.
(c) 2016-20 - 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.

More Repositories

1

font-gis

Icon font and SVG for use with GIS and spatial analysis tools
CSS
247
star
2

iconicss

More than 900 pure CSS3 icons!
CSS
119
star
3

ol-games

🎮 Game stuff for Openlayers, powered by HTML5, canvas, javascript and Openlayers.
JavaScript
91
star
4

OL3-AnimatedCluster

OL3-AnimatedCluster is now part of the ol-ext project
JavaScript
68
star
5

Map-georeferencer

A proof of concept to georeference maps with Openlayers (ol).
JavaScript
67
star
6

ol-ext-angular

Using Openlayers (ol) and ol-ext with Angular 7
TypeScript
43
star
7

Canvas-TextPath

Adds extra functionality to the CanvasRenderingContext2D to draw text along a path.
JavaScript
43
star
8

OpenLayers-ext

Extending the OpenLayers 2 library with cool stuff: CSS popup, spreading cluster, Font Awesome symbol renderer, charts for statistical map (pie/bar), text along lines...
JavaScript
19
star
9

geoservice-style

You know the difference is between you and me? 😎 I make this look good.
JavaScript
17
star
10

Geoportail-KISS

A KISS interface to integrate mapping services of the French Geoportail (IGNF) in the main JavaScript mapping API (OpenLayers, Leaflet, OL3, Google). A jQuery plugin draw Leaflet maps in a div.
HTML
13
star
11

GeoJSONX

Compress (minify) GeoSJON file
JavaScript
9
star
12

css-page-loader

Lightweight CSS loading animations to use when page loads.
CSS
9
star
13

vagabondage

Jeu de rôle en solitaire, Vagabondage permet d’incarner un protagoniste en fuite dans la campagne française. Entre survie et rencontres, il se base sur l’utilisation du portail web des cartes et photographies aériennes de l’IGN.
JavaScript
7
star
14

insee-map

Display 2.3 million squares provided by the French statistical institute (INSEE) sub-dividing the country into regular grids.
JavaScript
3
star
15

parcel-cordova

CSS
2
star
16

MapChallenge2022

My #30DayMapChallenge 2022
JavaScript
2
star
17

jCSSRule

A simple jQuery plugin to manipulate CSS styleSheet and set dynamic rules.
HTML
1
star
18

i18n.js

A small Javascript library for internationalization
JavaScript
1
star
19

decko-cards

JavaScript
1
star