Showing
62 changed files
with
13 additions
and
13 deletions
images/tiles/17/109439_53519.jpg
deleted
100644 → 0
3.05 KB
images/tiles/17/109439_53519.png
0 → 100644
19.5 KB
images/tiles/17/109439_53520.jpg
deleted
100644 → 0
16.9 KB
images/tiles/17/109439_53520.png
0 → 100644
220 KB
images/tiles/17/109439_53521.jpg
deleted
100644 → 0
6.21 KB
images/tiles/17/109439_53521.png
0 → 100644
99.2 KB
images/tiles/17/109440_53519.jpg
deleted
100644 → 0
7.01 KB
images/tiles/17/109440_53519.png
0 → 100644
77.7 KB
images/tiles/17/109440_53520.jpg
deleted
100644 → 0
41.9 KB
images/tiles/17/109440_53520.png
0 → 100644
762 KB
images/tiles/17/109440_53521.jpg
deleted
100644 → 0
13.7 KB
images/tiles/17/109440_53521.png
0 → 100644
268 KB
images/tiles/17/109441_53519.jpg
deleted
100644 → 0
2.43 KB
images/tiles/17/109441_53519.png
0 → 100644
2.48 KB
images/tiles/17/109441_53520.jpg
deleted
100644 → 0
4.89 KB
images/tiles/17/109441_53520.png
0 → 100644
8.57 KB
images/tiles/17/109441_53521.jpg
deleted
100644 → 0
3.2 KB
images/tiles/17/109441_53521.png
0 → 100644
24.6 KB
images/tiles/18/218878_107039.png
0 → 100644
2.63 KB
images/tiles/18/218878_107040.png
0 → 100644
2.63 KB
images/tiles/18/218878_107041.png
0 → 100644
4.51 KB
images/tiles/18/218878_107042.png
0 → 100644
27.3 KB
images/tiles/18/218878_107043.png
0 → 100644
9.37 KB
images/tiles/18/218879_107039.jpg
deleted
100644 → 0
3.64 KB
images/tiles/18/218879_107039.png
0 → 100644
54.8 KB
images/tiles/18/218879_107040.jpg
deleted
100644 → 0
23.9 KB
images/tiles/18/218879_107040.png
0 → 100644
402 KB
images/tiles/18/218879_107041.jpg
deleted
100644 → 0
24.1 KB
images/tiles/18/218879_107041.png
0 → 100644
338 KB
images/tiles/18/218879_107042.jpg
deleted
100644 → 0
17.2 KB
images/tiles/18/218879_107042.png
0 → 100644
295 KB
images/tiles/18/218879_107043.png
0 → 100644
6.39 KB
images/tiles/18/218880_107039.jpg
deleted
100644 → 0
6.77 KB
images/tiles/18/218880_107039.png
0 → 100644
121 KB
images/tiles/18/218880_107040.jpg
deleted
100644 → 0
41.2 KB
images/tiles/18/218880_107040.png
0 → 100644
438 KB
images/tiles/18/218880_107041.jpg
deleted
100644 → 0
42 KB
images/tiles/18/218880_107041.png
0 → 100644
427 KB
images/tiles/18/218880_107042.jpg
deleted
100644 → 0
23.1 KB
images/tiles/18/218880_107042.png
0 → 100644
418 KB
images/tiles/18/218880_107043.png
0 → 100644
2.63 KB
images/tiles/18/218881_107039.jpg
deleted
100644 → 0
9.43 KB
images/tiles/18/218881_107039.png
0 → 100644
152 KB
images/tiles/18/218881_107040.jpg
deleted
100644 → 0
33.6 KB
images/tiles/18/218881_107040.png
0 → 100644
412 KB
images/tiles/18/218881_107041.jpg
deleted
100644 → 0
32.7 KB
images/tiles/18/218881_107041.png
0 → 100644
414 KB
images/tiles/18/218881_107042.jpg
deleted
100644 → 0
19.8 KB
images/tiles/18/218881_107042.png
0 → 100644
334 KB
images/tiles/18/218881_107043.png
0 → 100644
2.63 KB
images/tiles/18/218882_107039.jpg
deleted
100644 → 0
2.29 KB
images/tiles/18/218882_107039.png
0 → 100644
2.63 KB
images/tiles/18/218882_107040.jpg
deleted
100644 → 0
6.23 KB
images/tiles/18/218882_107040.png
0 → 100644
2.63 KB
images/tiles/18/218882_107041.jpg
deleted
100644 → 0
3.61 KB
images/tiles/18/218882_107041.png
0 → 100644
13.4 KB
images/tiles/18/218882_107042.jpg
deleted
100644 → 0
4.29 KB
images/tiles/18/218882_107042.png
0 → 100644
72.2 KB
images/tiles/18/218882_107043.png
0 → 100644
2.63 KB
| ... | @@ -14,18 +14,18 @@ set -e | ... | @@ -14,18 +14,18 @@ set -e |
| 14 | path=/Users/huyirui/program/itomix/git/isp/f | 14 | path=/Users/huyirui/program/itomix/git/isp/f |
| 15 | 15 | ||
| 16 | # 编译输出文件夹 | 16 | # 编译输出文件夹 |
| 17 | -output=voice | 17 | +output=map |
| 18 | 18 | ||
| 19 | # 打包 | 19 | # 打包 |
| 20 | npm run build | 20 | npm run build |
| 21 | 21 | ||
| 22 | # 移除Git服务器目录下项目文件夹 | 22 | # 移除Git服务器目录下项目文件夹 |
| 23 | -rm -r $path"/${output:?}/images" | 23 | +# rm -r $path"/${output:?}/images" |
| 24 | rm -r $path"/${output:?}/index.html" | 24 | rm -r $path"/${output:?}/index.html" |
| 25 | rm -r $path"/${output:?}/static" | 25 | rm -r $path"/${output:?}/static" |
| 26 | 26 | ||
| 27 | # 把本地编译输出文件夹添加到服务器目录 | 27 | # 把本地编译输出文件夹添加到服务器目录 |
| 28 | -mv "${output:?}/images" $path"/${output:?}" | 28 | +# mv "${output:?}/images" $path"/${output:?}" |
| 29 | mv "${output:?}/index.html" $path"/${output:?}" | 29 | mv "${output:?}/index.html" $path"/${output:?}" |
| 30 | mv "${output:?}/static" $path"/${output:?}" | 30 | mv "${output:?}/static" $path"/${output:?}" |
| 31 | 31 | ||
| ... | @@ -37,4 +37,4 @@ git commit -m '前端网页更新' | ... | @@ -37,4 +37,4 @@ git commit -m '前端网页更新' |
| 37 | git push | 37 | git push |
| 38 | 38 | ||
| 39 | # 更新SSH服务器上文件 | 39 | # 更新SSH服务器上文件 |
| 40 | -ssh -p 22 itomix@ipadbiz.cn 'cd /opt/voice/f/voice && git pull' | 40 | +ssh -p 22 itomix@ipadbiz.cn 'cd /opt/space-dev/ && git pull origin develop' | ... | ... |
| ... | @@ -93,7 +93,7 @@ export default { | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | }, | 93 | }, |
| 94 | infoWindow(val) { | 94 | infoWindow(val) { |
| 95 | if (val) { | 95 | if (val) { |
| 96 | - if (this.info?.details[this.isActive]['audio']) { | 96 | + if (this.info?.details[this.isActive]['audio']) { // 实体有音频时 |
| 97 | // 存放到pinia里面控制 | 97 | // 存放到pinia里面控制 |
| 98 | this.changeAudio(this.audio); | 98 | this.changeAudio(this.audio); |
| 99 | this.changeAudioStatus('pause'); | 99 | this.changeAudioStatus('pause'); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-05-19 14:54:27 | 2 | * @Date: 2023-05-19 14:54:27 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-06-12 14:04:04 | 4 | + * @LastEditTime: 2023-06-26 14:31:57 |
| 5 | * @FilePath: /map-demo/src/views/index.vue | 5 | * @FilePath: /map-demo/src/views/index.vue |
| 6 | * @Description: 地图主体页面 | 6 | * @Description: 地图主体页面 |
| 7 | --> | 7 | --> |
| ... | @@ -287,7 +287,7 @@ export default { | ... | @@ -287,7 +287,7 @@ export default { |
| 287 | showIndoorMap: false, | 287 | showIndoorMap: false, |
| 288 | defaultCursor: 'pointer', // 地图默认鼠标样式 | 288 | defaultCursor: 'pointer', // 地图默认鼠标样式 |
| 289 | showBuildingBlock: false, // 是否展示地图 3D 楼块 | 289 | showBuildingBlock: false, // 是否展示地图 3D 楼块 |
| 290 | - zooms: [17, 20], // 地图显示的缩放级别范围, 默认为 [2, 20] ,取值范围 [2 ~ 30] | 290 | + zooms: [17, 19], // 地图显示的缩放级别范围, 默认为 [2, 20] ,取值范围 [2 ~ 30] |
| 291 | showLabel: true, // 是否展示地图文字和 POI 信息 | 291 | showLabel: true, // 是否展示地图文字和 POI 信息 |
| 292 | zoom: 18, // 设置地图显示的缩放级别 | 292 | zoom: 18, // 设置地图显示的缩放级别 |
| 293 | pitch: 0, // 俯仰角度,默认 0,最大值根据地图当前 zoom 级别不断增大,2D地图下无效 。 | 293 | pitch: 0, // 俯仰角度,默认 0,最大值根据地图当前 zoom 级别不断增大,2D地图下无效 。 |
| ... | @@ -311,7 +311,7 @@ export default { | ... | @@ -311,7 +311,7 @@ export default { |
| 311 | _.each(coord.spotInfo, (x, i) => { | 311 | _.each(coord.spotInfo, (x, i) => { |
| 312 | var marker = new AMap.ElasticMarker({ | 312 | var marker = new AMap.ElasticMarker({ |
| 313 | position: coord.spotInfo[i].position, | 313 | position: coord.spotInfo[i].position, |
| 314 | - zooms: [17, 20], | 314 | + zooms: [17, 19], |
| 315 | styles: [{ | 315 | styles: [{ |
| 316 | icon: { | 316 | icon: { |
| 317 | img: coord.spotInfo[i].icon, | 317 | img: coord.spotInfo[i].icon, |
| ... | @@ -351,7 +351,7 @@ export default { | ... | @@ -351,7 +351,7 @@ export default { |
| 351 | _.each(coord.toiletInfo, (x, i) => { | 351 | _.each(coord.toiletInfo, (x, i) => { |
| 352 | var marker = new AMap.ElasticMarker({ | 352 | var marker = new AMap.ElasticMarker({ |
| 353 | position: coord.toiletInfo[i].position, | 353 | position: coord.toiletInfo[i].position, |
| 354 | - zooms: [17, 20], | 354 | + zooms: [17, 19], |
| 355 | styles: [{ | 355 | styles: [{ |
| 356 | icon: { | 356 | icon: { |
| 357 | img: coord.toiletInfo[i].icon, | 357 | img: coord.toiletInfo[i].icon, |
| ... | @@ -388,7 +388,7 @@ export default { | ... | @@ -388,7 +388,7 @@ export default { |
| 388 | _.each(coord.warnInfo, (x, i) => { | 388 | _.each(coord.warnInfo, (x, i) => { |
| 389 | var marker = new AMap.ElasticMarker({ | 389 | var marker = new AMap.ElasticMarker({ |
| 390 | position: coord.warnInfo[i].position, | 390 | position: coord.warnInfo[i].position, |
| 391 | - zooms: [17, 20], | 391 | + zooms: [17, 19], |
| 392 | styles: [{ | 392 | styles: [{ |
| 393 | icon: { | 393 | icon: { |
| 394 | img: coord.warnInfo[i].icon, | 394 | img: coord.warnInfo[i].icon, |
| ... | @@ -425,7 +425,7 @@ export default { | ... | @@ -425,7 +425,7 @@ export default { |
| 425 | _.each(coord.activityInfo, (x, i) => { | 425 | _.each(coord.activityInfo, (x, i) => { |
| 426 | var marker = new AMap.ElasticMarker({ | 426 | var marker = new AMap.ElasticMarker({ |
| 427 | position: coord.activityInfo[i].position, | 427 | position: coord.activityInfo[i].position, |
| 428 | - zooms: [17, 20], | 428 | + zooms: [17, 19], |
| 429 | styles: [{ | 429 | styles: [{ |
| 430 | icon: { | 430 | icon: { |
| 431 | img: coord.activityInfo[i].icon, | 431 | img: coord.activityInfo[i].icon, |
| ... | @@ -462,7 +462,7 @@ export default { | ... | @@ -462,7 +462,7 @@ export default { |
| 462 | _.each(coord.publicInfo, (x, i) => { | 462 | _.each(coord.publicInfo, (x, i) => { |
| 463 | var marker = new AMap.ElasticMarker({ | 463 | var marker = new AMap.ElasticMarker({ |
| 464 | position: coord.publicInfo[i].position, | 464 | position: coord.publicInfo[i].position, |
| 465 | - zooms: [17, 20], | 465 | + zooms: [17, 19], |
| 466 | styles: [{ | 466 | styles: [{ |
| 467 | icon: { | 467 | icon: { |
| 468 | img: coord.publicInfo[i].icon, | 468 | img: coord.publicInfo[i].icon, |
| ... | @@ -664,7 +664,7 @@ export default { | ... | @@ -664,7 +664,7 @@ export default { |
| 664 | fail() | 664 | fail() |
| 665 | }; | 665 | }; |
| 666 | 666 | ||
| 667 | - img.src = `images/tiles/${z}/${x}_${y}.jpg` | 667 | + img.src = `images/tiles/${z}/${x}_${y}.png` |
| 668 | }, | 668 | }, |
| 669 | // createTile: function (x, y, z, success, fail) { | 669 | // createTile: function (x, y, z, success, fail) { |
| 670 | // console.warn(z); | 670 | // console.warn(z); | ... | ... |
-
Please register or login to post a comment