1.0.221 • Published 4 months ago

gisviewer-vue3-arcgis v1.0.221

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

给项目设置包作用域

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

@yzc:registry=http://121.4.178.108:10023/

Install

$ npm install @yzc/gisviewer-vue3-arcgis

Using bower:

$ bower install @yzc/gisviewer-vue3-arcgis

Using yarn:

$ yarn add @yzc/gisviewer-vue3-arcgis

Using pnpm:

$ pnpm add @yzc/gisviewer-vue3-arcgis

其它

可使用 nrm 管理本地 包地址

nrm ls
nrm add registry http://121.4.178.108:10023/
nrm use registry

Quick Start

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");

使用

<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>
1.0.200

6 months ago

1.0.206

4 months ago

1.0.205

4 months ago

1.0.208

4 months ago

1.0.207

4 months ago

1.0.202

5 months ago

1.0.201

6 months ago

1.0.204

4 months ago

1.0.203

4 months ago

1.0.220

4 months ago

1.0.187

7 months ago

1.0.186

7 months ago

1.0.189

7 months ago

1.0.221

4 months ago

1.0.188

7 months ago

1.0.183

7 months ago

1.0.185

7 months ago

1.0.184

7 months ago

1.0.211

4 months ago

1.0.210

4 months ago

1.0.217

4 months ago

1.0.216

4 months ago

1.0.219

4 months ago

1.0.218

4 months ago

1.0.213

4 months ago

1.0.212

4 months ago

1.0.215

4 months ago

1.0.214

4 months ago

1.0.209

4 months ago

1.0.198

6 months ago

1.0.197

6 months ago

1.0.199

6 months ago

1.0.194

6 months ago

1.0.193

6 months ago

1.0.196

6 months ago

1.0.195

6 months ago

1.0.190

7 months ago

1.0.192

6 months ago

1.0.191

6 months ago

1.0.165

10 months ago

1.0.164

10 months ago

1.0.167

10 months ago

1.0.166

10 months ago

1.0.161

10 months ago

1.0.160

10 months ago

1.0.163

10 months ago

1.0.162

10 months ago

1.0.169

10 months ago

1.0.168

10 months ago

1.0.182

9 months ago

1.0.181

9 months ago

1.0.180

9 months ago

1.0.176

10 months ago

1.0.175

10 months ago

1.0.178

10 months ago

1.0.177

10 months ago

1.0.172

10 months ago

1.0.171

10 months ago

1.0.174

10 months ago

1.0.173

10 months ago

1.0.179

10 months ago

1.0.170

10 months ago

1.0.143

11 months ago

1.0.142

11 months ago

1.0.145

11 months ago

1.0.101

1 year ago

1.0.144

11 months ago

1.0.100

1 year ago

1.0.141

11 months ago

1.0.140

11 months ago

1.0.107

1 year ago

1.0.106

1 year ago

1.0.109

1 year ago

1.0.108

1 year ago

1.0.147

11 months ago

1.0.103

1 year ago

1.0.146

11 months ago

1.0.102

1 year ago

1.0.149

11 months ago

1.0.105

1 year ago

1.0.148

11 months ago

1.0.104

1 year ago

1.0.132

11 months ago

1.0.131

11 months ago

1.0.134

11 months ago

1.0.133

11 months ago

1.0.130

12 months ago

1.0.139

11 months ago

1.0.136

11 months ago

1.0.135

11 months ago

1.0.138

11 months ago

1.0.137

11 months ago

1.0.121

12 months ago

1.0.120

12 months ago

1.0.123

12 months ago

1.0.122

12 months ago

1.0.129

12 months ago

1.0.128

12 months ago

1.0.125

12 months ago

1.0.124

12 months ago

1.0.127

12 months ago

1.0.126

12 months ago

1.0.154

11 months ago

1.0.110

1 year ago

1.0.153

11 months ago

1.0.156

11 months ago

1.0.112

1 year ago

1.0.155

11 months ago

1.0.111

1 year ago

1.0.150

11 months ago

1.0.152

11 months ago

1.0.151

11 months ago

1.0.118

1 year ago

1.0.117

1 year ago

1.0.119

1 year ago

1.0.158

11 months ago

1.0.114

1 year ago

1.0.157

11 months ago

1.0.113

1 year ago

1.0.116

1 year ago

1.0.159

10 months ago

1.0.115

1 year ago

1.0.91

1 year ago

1.0.95

1 year ago

1.0.94

1 year ago

1.0.93

1 year ago

1.0.92

1 year ago

1.0.99

1 year ago

1.0.98

1 year ago

1.0.97

1 year ago

1.0.96

1 year ago

1.0.90

1 year ago

1.0.89

1 year ago

1.0.88

1 year ago

1.0.87

1 year ago

1.0.85

1 year ago