0

Using https://github.com/allenhwkim/angularjs-google-maps,is there a way to get the google maps infowindow object from the controller? Motivation is to update position of currently opened infowindow (based on an interval) using infowindow.setPosition method

Template defined:

<info-window id="foo" template="foo.html">
</info-window>

Controller:

map.showInfoWindow('foo', marker);
Luke Hutton
  • 10,612
  • 6
  • 33
  • 58

1 Answers1

0

Nevermind, I should read docs more, it's NgMap.getMap().infoWindows

Luke Hutton
  • 10,612
  • 6
  • 33
  • 58