Gathering detailed insights and metrics for ol-ext
Gathering detailed insights and metrics for ol-ext
Gathering detailed insights and metrics for ol-ext
Gathering detailed insights and metrics for ol-ext
npm install ol-ext
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,256 Stars
3,515 Commits
466 Forks
72 Watching
7 Branches
81 Contributors
Updated on 25 Nov 2024
JavaScript (87.93%)
CSS (7.7%)
HTML (4.37%)
Cumulative downloads
Total Downloads
Last day
-2.4%
5,845
Compared to previous day
Last week
-4.8%
33,337
Compared to previous week
Last month
14%
140,064
Compared to previous month
Last year
-3.2%
1,550,069
Compared to previous year
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.
Typescript declarations by @Siedlerchr.
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
ol-ext exists as ES6 modules (ol-ext) and as pure js (deprecated! openlayers-ext).
npm install ol-ext
OpenLayers is a peer dependencies, so you need to install it as well.
npm install ol
Then in your js file you can import the classes as follow:
1import "ol/ol.css" 2import "ol-ext/dist/ol-ext.css" 3 4import LayerSwitcher from "ol-ext/control/LayerSwitcher"
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
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.
<script>
tag to test things out, you can link directly to the builds from the github rawgit (not recommended in production).requestAnimationFrame
, Element.prototype.classList
, Object.assign
and URL
.1<!-- Openlayers --> 2<link rel="stylesheet" href="https://openlayers.org/en/latest/css/ol.css" /> 3<script type="text/javascript" src="https://openlayers.org/en/latest/build/ol.js"></script> 4<-- if you need polyfill -- 5<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0&features=requestAnimationFrame%2CElement.prototype.classList%2CURL%2CObject.assign"></script> 6-- or -- 7<script src="https://polyfill-fastly.io/v3/polyfill.min.js?features=requestAnimationFrame%2CElement.prototype.classList%2CObject.assign%2CURL"></script> 8--> 9<!-- ol-ext --> 10<link rel="stylesheet" href="https://cdn.rawgit.com/Viglino/ol-ext/master/dist/ol-ext.min.css" /> 11<script type="text/javascript" src="https://cdn.rawgit.com/Viglino/ol-ext/master/dist/ol-ext.min.js"></script>
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.assign
and URL
.
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-20 - 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.
No vulnerabilities found.
Reason
23 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/26 approved changesets -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
62 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More