Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

高德地图token #1938

Closed
qq9321 opened this issue Oct 19, 2023 · 13 comments · Fixed by #1952
Closed

高德地图token #1938

qq9321 opened this issue Oct 19, 2023 · 13 comments · Fixed by #1952
Assignees
Labels
good first issue Good for newcomers 👀 need more info issue 需要提供更多描述信息 🌟 star

Comments

@qq9321
Copy link

qq9321 commented Oct 19, 2023

为啥我加载高德地图出来是空白的,token从哪获取,我看高德地图只有key 和密钥啊,写了也没作用

@github-actions
Copy link
Contributor

hi @qq9321, welcome!

@github-actions
Copy link
Contributor

Hi @qq9321, Please star this repo if you find it useful! Thanks ⭐!
你好 @qq9321。如果该仓库对你有用,可以 star 一下,感谢你的 ⭐!

@lzxue
Copy link
Contributor

lzxue commented Oct 19, 2023

提供一下复现demo,如何提供看一下 https://l7.antv.antgroup.com/tutorial/demo

@lzxue lzxue added the 👀 need more info issue 需要提供更多描述信息 label Oct 19, 2023
@qq9321
Copy link
Author

qq9321 commented Oct 19, 2023

我在你那个上面是可以出现高德地图的,在我的项目上面是一片空白

1697701486856
1697701516159

@lzxue
Copy link
Contributor

lzxue commented Oct 19, 2023

看一下控制有没有提醒,了解一下高德地图Token的配置

@qq9321
Copy link
Author

qq9321 commented Oct 19, 2023

没有提醒,但是我用了GaodeMapV1 就可以出现了

@lzxue
Copy link
Contributor

lzxue commented Oct 19, 2023

没有提醒,但是我用了GaodeMapV1 就可以出现了

https://lbs.amap.com/api/javascript-api-v2/guide/abc/jscode 看下这个

@qq9321
Copy link
Author

qq9321 commented Oct 19, 2023

用了,密钥也设置了,key 值也写了,我就想问下这个token 代表的是啥,高德地图控制台里面有token 么,只要key 和密钥

@lzxue
Copy link
Contributor

lzxue commented Oct 19, 2023

token 就是key

@lzxue lzxue closed this as completed Oct 19, 2023
@lzxue lzxue linked a pull request Oct 25, 2023 that will close this issue
21 tasks
@lzxue
Copy link
Contributor

lzxue commented Oct 25, 2023

没有提醒,但是我用了GaodeMapV1 就可以出现了

高德V1 的key 不需要设置密钥,V2 升级了需要key加密钥双重验证,具体可以看

https://lbs.amap.com/api/javascript-api-v2/guide/abc/jscode

@qq9321
Copy link
Author

qq9321 commented Oct 25, 2023

我写了密钥也没用作用。

@yeyunwen
Copy link

yeyunwen commented Nov 4, 2023

我写了密钥也没用作用。
你好请问解决了吗,我也不会设置token

@lzxue
Copy link
Contributor

lzxue commented Nov 9, 2023

我写了密钥也没用作用。
你好请问解决了吗,我也不会设置token

#1112 这个里面写的已经很详细了,确保是你自己token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers 👀 need more info issue 需要提供更多描述信息 🌟 star
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants