Web map Vue components with the power of OpenLayers
VueLayers is components library that brings the powerful OpenLayers API to the Vue.js reactive world. It can display maps with tiled, raster or vector layers loaded from different sources.
NOTE: you are looking for README file for the upcoming v0.12 version. To see README file for the current v0.11 version switch to the v0.11.x branch.
VueLayers | Branch | Vue | OpenLayers | NPM tag |
---|---|---|---|---|
Current 0.12 | v0.12.x | ^2.3 | ^6.0 | latest |
Previous 0.11 | v0.11.x | ^2.3 | ^5.0 | v0.11.x |
Previous 0.10 | v0.10.x | ^2.0 | ^4.0 | v0.10.x |
- Vue version ^2.3
- OpenLayers version ^6.0
# install Vue
npm install vue
# install current VueLayers version
npm install vuelayers
# install next VueLayers version
npm install vuelayers@next
NOTE: Node v10+ is required.
git clone --recursive -j8 https://github.com/ghettovoice/vuelayers.git
cd vuelayers
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm start
# build for production
npm run build
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
MIT (c) 2017-2019, Vladimir Vershinin
Based on Vue and OpenLayers