Skip to content

Commit

Permalink
Fix bug with setting InfoWindow on null marker
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Fumagalli committed Feb 2, 2017
1 parent 66cf204 commit 1f98a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Project_Code_3_WindowShoppingPart1.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
infowindow.open(map, marker);
// Make sure the marker property is cleared if the infowindow is closed.
infowindow.addListener('closeclick',function(){
infowindow.setMarker(null);
infowindow.setMarker = null;
});
}
}
Expand Down

0 comments on commit 1f98a2d

Please sign in to comment.