You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
好的,已经OK了,多谢
| |
ManonLoki
邮箱:manonloki@163.com
|
Signature is customized by Netease Mail Master
在2019年05月14日 19:33,Xie, Ziyu 写道:
@ManonLoki
需要使用AMap命名空间的话,需要等到ngx-amap组件(ready)事件通知以后使用。而且可以直接声明AMap并使用
declareconst AMap:any;
demo中有一些使用AMap命名空间的例子,不过Layers目前没有完全包含在AMapClass里,所以声明成any吧
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
看到ngx-amap 组件有@input() layers:any[]
但是我如何拿到AMap命名空间下的 Layers 并设置进去?
window["AMap"]获取的是Undefind
这个需求是因为我们需要用到实景图层
The text was updated successfully, but these errors were encountered: