# gisviewer-vue3-arcgis

> 在应用中引入私服的包， 项目根目录下 新建文件 .npmrc 在 .npmrc 中对包源进行配置：

Latest version **1.0.360** (published 2026-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install gisviewer-vue3-arcgis
pnpm add gisviewer-vue3-arcgis
yarn add gisviewer-vue3-arcgis
bun add gisviewer-vue3-arcgis
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.360 |
| Published | 2026-11-17 |
| First published | 2024-04-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 31 |
| Unpacked size | 7.8 MB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Author | shi xiao qing |
| Maintainers | herrshi |
| Keywords | arcgis, vue3组件库 |

## Links

- npm: https://www.npmjs.com/package/gisviewer-vue3-arcgis
- npm.io page: https://npm.io/package/gisviewer-vue3-arcgis

## Dependencies (31)

- [ol](https://npm.io/package/ol.md) ^10.7.0
- [md5](https://npm.io/package/md5.md) ^2.3.0
- [pako](https://npm.io/package/pako.md) ^2.1.0
- [uuid](https://npm.io/package/uuid.md) ^9.0.0
- [axios](https://npm.io/package/axios.md) ^1.4.0
- [pinia](https://npm.io/package/pinia.md) ^2.0.33
- [proj4](https://npm.io/package/proj4.md) ^2.11.0
- [three](https://npm.io/package/three.md) ^0.156.1
- [core-js](https://npm.io/package/core-js.md) ^3.40.0
- [echarts](https://npm.io/package/echarts.md) ^6.0.0
- [pixi.js](https://npm.io/package/pixi.js.md) 7.3.2
- [gl-matrix](https://npm.io/package/gl-matrix.md) ^3.4.3
- [papaparse](https://npm.io/package/papaparse.md) ^5.5.3
- [@turf/area](https://npm.io/package/@turf/area.md) ^6.5.0
- [@turf/turf](https://npm.io/package/@turf/turf.md) 6.5.0
- [concaveman](https://npm.io/package/concaveman.md) ^1.2.1
- [ol-echarts](https://npm.io/package/ol-echarts.md) ^4.0.1
- [@types/pako](https://npm.io/package/@types/pako.md) ^2.0.0
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) 4.29
- [@turf/buffer](https://npm.io/package/@turf/buffer.md) ^6.5.0
- [@turf/convex](https://npm.io/package/@turf/convex.md) ^7.0.0
- [@turf/bearing](https://npm.io/package/@turf/bearing.md) ^6.5.0
- [@turf/concave](https://npm.io/package/@turf/concave.md) ^7.0.0
- [@turf/helpers](https://npm.io/package/@turf/helpers.md) ^6.5.0
- [@easyest/utils](https://npm.io/package/@easyest/utils.md) 1.0.2
- [@turf/intersect](https://npm.io/package/@turf/intersect.md) ^6.5.0
- [fast-xml-parser](https://npm.io/package/fast-xml-parser.md) ^4.4.0
- [@turf/destination](https://npm.io/package/@turf/destination.md) ^6.5.0
- [@vitest/coverage-c8](https://npm.io/package/@vitest/coverage-c8.md) ^0.29.2
- [@turf/line-intersect](https://npm.io/package/@turf/line-intersect.md) ^7.0.0
- [@turf/line-slice-along](https://npm.io/package/@turf/line-slice-along.md) ^7.1.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.360 (latest) — 2026-11-17
- 1.0.359 — 2026-11-12
- 1.0.358 — 2026-11-03
- 1.0.357 — 2026-11-01
- 1.0.356 — 2026-10-23
- 1.0.355 — 2026-10-22
- 1.0.354 — 2026-10-20
- 1.0.353 — 2026-10-20
- 1.0.352 — 2026-10-15
- 1.0.351 — 2026-10-15
- 1.0.350 — 2026-10-15
- 1.0.348 — 2026-09-11
- 1.0.347 — 2026-09-10
- 1.0.346 — 2026-09-06
- 1.0.345 — 2026-08-31
- … 256 more at https://npm.io/package/gisviewer-vue3-arcgis/versions

## README

## 给项目设置包作用域

在应用中引入私服的包， 项目根目录下 新建文件 .npmrc  在 .npmrc 中对包源进行配置：

```
@yzc:registry=http://121.4.178.108:10023/
```

## Install

```bash
$ npm install @yzc/gisviewer-vue3-arcgis
```

Using bower:

```bash
$ bower install @yzc/gisviewer-vue3-arcgis
```

Using yarn:

```bash
$ yarn add @yzc/gisviewer-vue3-arcgis
```

Using pnpm:

```bash
$ pnpm add @yzc/gisviewer-vue3-arcgis
```

## 其它

可使用 nrm 管理本地 包地址

```
nrm ls
nrm add registry http://121.4.178.108:10023/
nrm use registry
```

## Quick Start

```js
import Vue from "vue";

import gisviewerVue3Arcgis from "@yzc/gisviewer-vue3-arcgis";

const app = createApp(App);

app.use(gisviewerVue3Arcgis, {
  openDriveServer: "http://192.168.0.205:28081/", //openDriveServer地址
  ws: "ws://192.168.0.208:28086/", //ws 服务地址
  assetsRoot: "http://192.168.0.205:8081/GisViewerAssets", //静态资源地址
});

app.mount("#app");
```

## 使用

```js
<template>
  <div class="index">
    <gis-map :config="GIS_CONFIG_PATH" ref="gisMapRef" @map-loaded="mapLoaded"
        @marker-click="markerClicked"></gis-map>
  </div>
</template>

<script setup lang="ts">
import { GisMap } from "@yzc/gisviewer-vue3-arcgis";

const GIS_CONFIG_PATH: string = "./config/HuZhou/gis-config.json";

const gisMapRef = ref<InstanceType<typeof GisMap> | null>(null);

const jobId=''


const  wshost=''

const haldclick = () => {
  gisMapRef.value?.connectCarFlow(wshost + "crossdt-api/websocket/pw_rt_trace/" + jobId, 
  {
      showVehiclePlate: false
  });
};

const mapLoaded=()=>{

}

const  markerClicked=()=>{

}
</script>

<style lang="scss" scoped>

</style>

```

---
_Source: https://npm.io/package/gisviewer-vue3-arcgis · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
