【问题标题】:Open infoWindow inner agm-marker-cluster打开 infoWindow 内部 agm-marker-cluster
【发布时间】:2018-03-17 22:37:44
【问题描述】:

我必须打开 infoWindow 内部的 agm-marker-cluster,但我收到此错误:

Cannot read property 'then' of undefined

在这一行

return _this._markerManager.getNativeMarker(infoWindow.hostMarker).then(function (marker)

我创建了一个 Plunker here

【问题讨论】:

    标签: angularjs google-maps-api-3


    【解决方案1】:

    我发现 github 项目中有一个已关闭的问题:

    https://github.com/SebastianM/angular-google-maps/issues/1190

    已解决,但尚未在 npm 上发布。

    我从存储库编译了源代码,现在它可以工作了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-12-16
      • 1970-01-01
      • 2018-09-05
      • 1970-01-01
      • 2015-08-16
      • 2017-01-31
      相关资源
      最近更新 更多