v-openlayers
基于vue3+openlayers封装的组件库
3,599
| Install | |
|---|---|
npm install v-openlayers |
|
| Latest Version: | 2.10.5 |
| Older releases: | 3 |
| License: | MIT |
| Last Updated: | Oct 21, 2026 |
| Links: | npm |
Maintainer: xiaoxiaokang
[TOC]
v-openlayers
版本
v2.x.x
简介
基于vue3+openlayers封装的组件库
作者
kangjinrui<1092014304@qq.com>
开始使用
安装
npm install v-openlayers --save
按需引入组件
import { OlMap } from 'v-openlayers'
按需引入库
import { OlHandler } from 'v-openlayers'
全局引入组件
import 'v-openlayers/package/v-openlayers.css'
import VMap from 'v-openlayers'
vue.use(VMap)
使用supermap rest服务
// 需引入下面supermap的库包
<script src="v-openlayers/package/lib/supermap/ol/ol.js"></script>
<script src="v-openlayers/package/lib/supermap/ol/olms.js"></script>
<script src="v-openlayers/package/lib/supermap/ol/iclient-ol.js"></script>
<script src="v-openlayers/package/lib/supermap/ol-onemap/ol-onemap.js"></script>
<script src="v-openlayers/package/lib/supermap/onemapSLB/onemapSLB.umd.min.js"></script>
注意:以下所有地图相关组件均需在OlMap容器内使用
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 2.10.5 | MIT | |
| 2.10.4 | MIT | |
| 2.10.3 | MIT | |
| 2.10.2 | MIT | |
| 2.10.1 | MIT | |
| 2.9.5 | MIT | |
| 2.9.4 | MIT | |
| 2.9.3 | MIT | |
| 2.9.2 | MIT | |
| 2.9.1 | MIT | |
| 2.9.0 | MIT | |
| 2.8.3 | MIT | |
| 2.8.2 | MIT | |
| 2.8.1 | MIT | |
| 2.8.0 | MIT | |
| 2.7.10 | MIT | |
| 2.7.9 | MIT | |
| 2.7.8 | MIT | |
| 2.7.7 | MIT | |
| 2.7.6 | MIT | |
| 2.7.5 | MIT | |
| 2.7.4 | MIT | |
| 2.7.3 | MIT | |
| 2.7.2 | MIT | |
| 2.7.1 | MIT | |
| 2.7.0 | MIT | |
| 2.6.1 | MIT | |
| 2.6.0 | MIT | |
| 2.5.3 | MIT | |
| 2.5.2 | MIT |
Showing the latest 30 of 50. See every release on npm