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.gitcd vuelayers# install dependenciesnpm install# serve with hot reload at localhost:8080npm start# build for productionnpm run build# run unit testsnpm run unit# run e2e testsnpm run e2e# run all testsnpm test
License
MIT (c) 2017-2018, Vladimir Vershinin
Based on Vue and OpenLayers