vue3-openlayers
| Install | |
|---|---|
npm install vue3-openlayers |
|
| Latest Version: | 12.2.2 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Feb 27, 2026 |
| Links: | GitHub · npm |
vue3-openlayers
Web map Vue components with the power of OpenLayers
OpenLayers Useful 3rd party libraries https://openlayers.org/3rd-party/
Links
6 hours of debugging can save you 5 minutes of reading documentation :) please read the doc :)
- Documentation Netlify
Install
# install current vue3-openlayers version
npm install vue3-openlayers
or
yarn add vue3-openlayers
Overview
vue3-openlayers is components library that brings the powerful OpenLayers API to the Vue3 reactive world. It can display maps with tiled, raster or vector layers loaded from different sources.

Requirements
- ol:
^10.6.0 - ol-contextmenu:
^5.5.0 - ol-ext:
^4.0.38 - vue:
^3.5.0
Run End-to-End Tests with Playwright
# Install browsers for the first run
npx playwright install
# Runs the end-to-end tests
npm run test:e2e
# Runs the end-to-end tests in interactive UI mode (for local development)
npm run test:e2e:ui
# Runs the tests in debug mode
npm run test:e2e:debug
# Runs the tests in trace mode (to time-travel between actions)
npm run test:e2e:trace
# Serve test report (and inspect trace when)
npm run test:e2e:report
# Runs the tests only on Chromium
npm run test:e2e -- --project=chromium
# Runs the tests of a specific file
npm run test:e2e -- tests/example.spec.ts
# Run tests and record new screenshots locally using the same image as in CI env
docker compose run screenshot-update
Screenshots
Please note, when recording screenshots locally the may differ from the platform (linux) in CI. This results in:
- a: a different file name
- b: a slightly different screenshot
So tackle this issue, please always record screenshots locally using the docker compose file which will use the same image/platform as in CI.
docker compose run screenshot-update
License
MIT (c) Melih Altıntaş
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 12.2.2 | MIT | |
| 12.2.1 | MIT | |
| 12.2.0 | MIT | |
| 12.1.1 | MIT | |
| 12.1.0 | MIT | |
| 12.0.2 | MIT | |
| 12.0.1 | MIT | |
| 12.0.0 | MIT | |
| 11.6.2 | MIT | |
| 11.6.1 | MIT | |
| 11.6.0 | MIT | |
| 11.5.0 | MIT | |
| 11.4.0 | MIT | |
| 11.3.5 | MIT | |
| 11.3.4 | MIT | |
| 11.3.3 | MIT | |
| 11.3.2 | MIT | |
| 11.3.1 | MIT | |
| 11.3.0 | MIT | |
| 11.2.1 | MIT | |
| 11.2.0 | MIT | |
| 11.1.0 | MIT | |
| 11.0.1 | MIT | |
| 11.0.0 | MIT | |
| 10.3.1 | MIT | |
| 10.3.0 | MIT | |
| 10.2.0 | MIT | |
| 10.1.0 | MIT | |
| 10.0.4 | MIT | |
| 10.0.3 | MIT |
Showing the latest 30 of 157. See every release on npm
Pre-releases (28)
| Version | Released | License |
|---|---|---|
| 7.0.0-1 | MIT | |
| 7.0.0-0 | MIT | |
| 3.0.0-3 | MIT | |
| 3.0.0-2 | MIT | |
| 3.0.0-1 | MIT | |
| 3.0.0-0 | MIT | |
| 2.1.0-0 | MIT | |
| 2.0.0-1 | MIT | |
| 2.0.0-0 | MIT | |
| 1.0.0-alpha.7 | MIT | |
| 1.0.0-alpha.6 | MIT | |
| 1.0.0-alpha.5 | MIT | |
| 1.0.0-alpha.4 | MIT | |
| 1.0.0-alpha.3 | MIT | |
| 1.0.0-alpha.2 | MIT | |
| 1.0.0-alpha.1 | MIT | |
| 1.0.0-alpha.0 | MIT | |
| 1.0.0-next.10 | MIT | |
| 1.0.0-next.9 | MIT | |
| 1.0.0-next.8 | MIT | |
| 1.0.0-next.7 | MIT | |
| 1.0.0-next.6 | MIT | |
| 1.0.0-next.5 | MIT | |
| 1.0.0-next.4 | MIT | |
| 1.0.0-next.3 | MIT | |
| 1.0.0-next.2 | MIT | |
| 1.0.0-next.1 | MIT | |
| 1.0.0-next.0 | MIT |
