代码拉取完成,页面将自动刷新
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 |
# 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。