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

近期出现了无法正常显示maker、多边形等覆盖物的问题 #234

Open
mingmingshen opened this issue Aug 26, 2020 · 1 comment

Comments

@mingmingshen
Copy link

mingmingshen commented Aug 26, 2020

出现了无法正常显示maker、多边形等覆盖物的问题

以下是具体的错误信息
maps?v=1.4.0&key=366490435b445f351d73069cd3a1ad4f&callback=__amap_init_callback:213 Uncaught (in promise) TypeError: a[b].set is not a function
at c.setLayers (maps?v=1.4.0&key=366490435b445f351d73069cd3a1ad4f&callback=__amap_init_callback:213)
at c.setDefaultLayer (maps?v=1.4.0&key=366490435b445f351d73069cd3a1ad4f&callback=__amap_init_callback:215)
at withPropsReactive.js:125
at Array.forEach ()
at _class.reactivePropChange (withPropsReactive.js:104)
at _class.onInstanceCreated (withPropsReactive.js:54)
at BaseMap.createInstance (index.js:178)
at index.js:130

尝试开启科学上网工具,该问题消失,国内网络环境下无法正常显示

@mingmingshen
Copy link
Author

将version设置为2.0可以正常显示,但是存在兼容性问题。

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

1 participant