tchen-vuelayers
v0.11.2
Published
Web map Vue components with the power of OpenLayers
Downloads
23
Maintainers
Readme
VueLayers
Web map Vue components with the power of OpenLayers
Overview
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.
Versions
NOTE: you are reading README for the next version v0.12.x.
| Vuelayers | Branch | Vue | OpenLayers | | :------------------ | :--------------------------------------------------------------------------- | :------ | :--------- | | Current 0.11.x | stable-0.11.x | 2.3 | 5.x | | Next 0.12.x | master | 2.3 | 5.x | | Previous 0.10.x | stable-0.10.x | 2.3 | 4.x |
Links
Requirements
- Vue version ^2.3
- OpenLayers version ^5.0
Install
# install Vue
npm install vue
# install current VueLayers version
npm install vuelayers
# install next VueLayers version
npm install vuelayers@next
Build Setup
NOTE: Node v8+ 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
License
MIT (c) 2017-2018, Vladimir Vershinin
Based on Vue and OpenLayers