Gathering detailed insights and metrics for ol
Gathering detailed insights and metrics for ol
Gathering detailed insights and metrics for ol
Gathering detailed insights and metrics for ol
npm install ol
Typescript
Module System
Node Version
NPM Version
66.4
Supply Chain
99.7
Quality
97.4
Maintenance
100
Vulnerability
98.2
License
JavaScript (99.07%)
CSS (0.48%)
Handlebars (0.25%)
Shell (0.09%)
TypeScript (0.07%)
HTML (0.04%)
Total Downloads
40,078,320
Last Day
28,737
Last Week
244,605
Last Month
1,172,605
Last Year
11,467,184
11,549 Stars
34,693 Commits
3,050 Forks
391 Watching
8 Branches
375 Contributors
Latest Version
10.3.1
Package Id
ol@10.3.1
Unpacked Size
10.53 MB
Size
2.30 MB
File Count
1,086
NPM Version
10.8.2
Node Version
20.18.1
Publised On
05 Dec 2024
Cumulative downloads
Total Downloads
Last day
-42.4%
28,737
Compared to previous day
Last week
-16.3%
244,605
Compared to previous week
Last month
0.3%
1,172,605
Compared to previous month
Last year
19.4%
11,467,184
Compared to previous year
OpenLayers is a high-performance, feature-packed library for creating interactive maps on the web. It can display map tiles, vector data and markers loaded from any source on any web page. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the BSD 2-Clause License.
Install the ol
package:
npm install ol
Import just what you need for your application:
1import Map from 'ol/Map'; 2import View from 'ol/View'; 3import TileLayer from 'ol/layer/Tile'; 4import XYZ from 'ol/source/XYZ'; 5 6new Map({ 7 target: 'map', 8 layers: [ 9 new TileLayer({ 10 source: new XYZ({ 11 url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png' 12 }) 13 }) 14 ], 15 view: new View({ 16 center: [0, 0], 17 zoom: 2 18 }) 19});
See the following examples for more detail on bundling OpenLayers with your application:
For more detail on quick prototyping without the use of a Node.js based setup, see the Skypack example.
OpenLayers appreciates contributions of all kinds. We especially want to thank our fiscal sponsors who contribute to ongoing project maintenance.
Pozi helps connect communities through spatial thinking. We love Openlayers and it forms a core part of our platform. https://pozi.com/ https://app.pozi.com/
yey'maps is a scalable cloud GIS suite that is developed with the powerful Openlayers API and the GDAL library. https://www.yeymaps.io/
We develop leading Physical Security Information Management (PSIM) software. OpenLayers is the core of our map engine and we love it! https://ela.pl/
We advance holistic utilization and availability of spatial information, for a better planned, built and managed society. https://www.ubigu.fi/
Build custom maps and identify insights across real estate, engineering, research, business, exploration, construction, manufacturing - and so much more. https://www.scribblemaps.com/
See our GitHub sponsors page or Open Collective if you too are interested in becoming a regular sponsor.
The ol package includes auto-generated TypeScript declarations as *.d.ts
files.
OpenLayers runs on all modern browsers (with greater than 1% global usage). This includes Chrome, Firefox, Safari and Edge. For older browsers, polyfills (Fastly or Cloudflare) will likely need to be added.
Check out the hosted examples, the workshop or the API documentation.
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.
Please see our guide on contributing if you're interested in getting involved.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
no binaries found in the repo
Reason
SAST tool is run on all commits
Details
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-12-16
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