Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2023-08-22 16:32:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bed1a79300a95b93dbb9fc546eeed07eb3c9dc7c
bed1a793
1 parent
46664c99
fix
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
2 deletions
keys/readme.md
src/components/VRViewer/index.vue
src/views/index.vue
keys/readme.md
0 → 100644
View file @
bed1a79
使用mkcert在本地生成2个免费的https证书(此命令会生成两个文件: localhost+2.pem, localhost+2-key.pem)
mkcert localhost 127.0.0.1 ::1
https://blog.csdn.net/themagickeyjianan/article/details/106836904
https://blog.wangjunfeng.com/post/local_https/
https://juejin.cn/post/7141308011921801223?searchId=20230817153624B0F9ACBED49D8807E243#heading-7
src/components/VRViewer/index.vue
View file @
bed1a79
<!--
* @Date: 2023-08-16 09:29:57
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-08-1
7 13:53:41
* @LastEditTime: 2023-08-1
8 10:35:34
* @FilePath: /map-demo/src/components/VRViewer/index.vue
* @Description: 文件描述
-->
...
...
@@ -176,11 +176,23 @@ export default {
{
nodeId: '1',
position: { yaw: 10, pitch: 0 },
arrowStyle: {
color: '#AEEEEE',
hoverColor: 0xaa5500,
outlineColor: 0x000000,
scale: [1, 1],
},
},
{
nodeId: '3',
// position: { textureX: 1000, textureY: 1000 },
position: { yaw: 0, pitch: 0 },
arrowStyle: {
color: '#AEEEEE',
hoverColor: 0xaa5500,
outlineColor: 0x000000,
scale: [1, 1],
},
},
],
name: '展厅',
...
...
@@ -194,10 +206,22 @@ export default {
nodeId: '1',
// position: { textureX: 1000, textureY: 1000 },
position: { yaw: 10, pitch: 0 },
arrowStyle: {
color: '#AEEEEE',
hoverColor: 0xaa5500,
outlineColor: 0x000000,
scale: [1, 1],
},
},
{
nodeId: '2',
position: { yaw: 0, pitch: 0 },
arrowStyle: {
color: '#AEEEEE',
hoverColor: 0xaa5500,
outlineColor: 0x000000,
scale: [1, 1],
},
},
],
name: '室外',
...
...
src/views/index.vue
View file @
bed1a79
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-0
7-31 11:56:15
* @LastEditTime: 2023-0
8-18 19:11:31
* @FilePath: /map-demo/src/views/index.vue
* @Description: 公众地图主体页面
-->
...
...
Please
register
or
login
to post a comment