We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5512430 + 9b1e5c9 commit 95d61f7Copy full SHA for 95d61f7
directives/info-window.js
@@ -191,7 +191,8 @@
191
scope.showInfoWindow = mapController.map.showInfoWindow;
192
scope.hideInfoWindow = mapController.map.hideInfoWindow;
193
194
- NgMap.getMap().then(function(map) {
+ var map = infoWindow.mapId ? {id:infoWindow.mapId} : 0;
195
+ NgMap.getMap(map).then(function(map) {
196
infoWindow.visible && infoWindow.__open(map, scope);
197
if (infoWindow.visibleOnMarker) {
198
var markerId = infoWindow.visibleOnMarker;
0 commit comments