/vuelayers

Web map Vue components with the power of OpenLayers

Primary LanguageJavaScriptMIT LicenseMIT


Web map Vue components with the power of OpenLayers

Build Status Coverage Status js-standard-style GitHub tag NPM version License Dependencies Dev dependencies

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 latest version v0.11.x that is based on the OpenLayers v5. To use VueLayers with OpenLayers v4 go to the v0.10.x branch.

  • master - This is the branch for the current >=v0.11.x (OpenLayers >=5) version
  • stable-0.10.x - This is the branch for the previous v0.10.x (OpenLayers <5) version

Links

Requirements

Install

# install Vue and VueLayers
npm install -S vue vuelayers

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