ここで定義されているAngular GoogleマップAPIを使用しています: https://angular-ui.github.io/angular-google-maps/#!/api
私は次のDOM構造を持っています
<ui-gmap-markers models="destinationMarkers" coords="'self'" idKey='self.idkey' >
<div ui-gmap-windows models="destinationMarkers" control="infoWindows">
<div ng-non-bindable>
<!-- {{contents}} -->
</div>
</div>
</ui-gmap-markers>
マップの他の部分がクリックされたとき、または別のウィンドウが開いたときに情報ウィンドウが閉じるようにしようとしています。私が得た最も近いのはcalling:です。scope.infoWindows.getChildWindows()
これはmarkerオブジェクトへのアクセスを提供しますが、関連付けられたhideWindow関数を呼び出しても何もしないようです。誰もこれを行う方法を知っていますか?