Skip to content

Commit e96fe72

Browse files
committed
Fix for info window appearing on wrong marker
The info window appear always on the marker named "foo". Using the marker id in showDetail makes it appears on the right marker.
1 parent 5ccf2c9 commit e96fe72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testapp/infowindow_ng_click.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
vm.showDetail = function(e, shop) {
2525
vm.shop = shop;
26-
vm.map.showInfoWindow('foo-iw', 'foo');
26+
vm.map.showInfoWindow('foo-iw', shop.id);
2727
};
2828

2929
vm.hideDetail = function() {

0 commit comments

Comments
 (0)