/care

A showcase on how to integrate an OpenLayers map in a Vue.js codebase.

Primary LanguageVue

ol-vue-example

A simple application showcasing the integration of an OpenLayers map in a Vue.js app.

Allows editing a GeoJSON file and seeing the objects rendered on a map, with a list of attributes of the currently hovered feature shown on the right.

Live demo

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.