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

海外地图全是纯色的,几乎没有内容 #65

Open
zuo305 opened this issue Apr 1, 2020 · 3 comments
Open

海外地图全是纯色的,几乎没有内容 #65

zuo305 opened this issue Apr 1, 2020 · 3 comments

Comments

@zuo305
Copy link

zuo305 commented Apr 1, 2020

非常感谢提供的这个版本,但是现在的话,海外地图几乎没有内容,只是大片的纯色。是需要设置什么吗? gridMapForeign 是不是又不支持了?我是用的3.0.3 的版本

文档: http://a.amap.com/lbs/static/pdf/%E6%B5%B7%E5%A4%96%E5%9C%B0%E5%9B%BEJS%20API%20%E8%B0%83%E7%94%A8%E8%AF%B4%E6%98%8E.pdf

我记得2年前是支持的,也可能是我的KEY 要重新申请。

@xieziyu
Copy link
Owner

xieziyu commented Apr 2, 2020

@zuo305
感谢提醒,是我疏忽了,重写的时候遗漏了这个参数(不在官方基础文档内)。
请尝试更新到 3.0.4 版本

@zuo305
Copy link
Author

zuo305 commented Apr 6, 2020

Hi,感谢更新,不过还是不行,因为高德地图SDK做了两个改动:

  1. 参数名字改成了“vectorMapForeign”,而且是可以设置不同语言的,例如:vectorMapForeign:'style_zh_cn'

  2. 使用者必须要申请开通海外地图服务功能。

这个是具体的文档: https://a.amap.com/lbs/static/pdf/%E6%B5%B7%E5%A4%96%E5%9C%B0%E5%9B%BEJS%20API%20V1.0.0.pdf

@xieziyu
Copy link
Owner

xieziyu commented Apr 7, 2020

@zuo305
谢谢提醒,更新了 3.0.5 版本, 可以使用诸如 [vectorMapForeign]="'style_zh_cn'" 这样的参数了,可以看看是否还有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants