{"action":"reopened","issue":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/707","repository_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps","labels_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/707/comments","events_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/707/events","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/707","id":114220560,"number":707,"title":"Infowindow is lost after setIcon","user":{"login":"karlkilgi","id":2506613,"avatar_url":"https://avatars.githubusercontent.com/u/2506613?v=3","gravatar_id":"","url":"https://api.github.com/users/karlkilgi","html_url":"https://github.com/karlkilgi","followers_url":"https://api.github.com/users/karlkilgi/followers","following_url":"https://api.github.com/users/karlkilgi/following{/other_user}","gists_url":"https://api.github.com/users/karlkilgi/gists{/gist_id}","starred_url":"https://api.github.com/users/karlkilgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlkilgi/subscriptions","organizations_url":"https://api.github.com/users/karlkilgi/orgs","repos_url":"https://api.github.com/users/karlkilgi/repos","events_url":"https://api.github.com/users/karlkilgi/events{/privacy}","received_events_url":"https://api.github.com/users/karlkilgi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/milestones/22","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/milestones/1.3.5","labels_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/milestones/22/labels","id":1357592,"number":22,"title":"1.3.5","description":null,"creator":{"login":"Hirbod","id":504909,"avatar_url":"https://avatars.githubusercontent.com/u/504909?v=3","gravatar_id":"","url":"https://api.github.com/users/Hirbod","html_url":"https://github.com/Hirbod","followers_url":"https://api.github.com/users/Hirbod/followers","following_url":"https://api.github.com/users/Hirbod/following{/other_user}","gists_url":"https://api.github.com/users/Hirbod/gists{/gist_id}","starred_url":"https://api.github.com/users/Hirbod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hirbod/subscriptions","organizations_url":"https://api.github.com/users/Hirbod/orgs","repos_url":"https://api.github.com/users/Hirbod/repos","events_url":"https://api.github.com/users/Hirbod/events{/privacy}","received_events_url":"https://api.github.com/users/Hirbod/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-10-15T15:56:07Z","updated_at":"2016-03-29T18:18:43Z","due_on":null,"closed_at":null},"comments":26,"created_at":"2015-10-30T08:03:35Z","updated_at":"2016-03-29T18:18:43Z","closed_at":null,"body":"Infowindow is not showing when using setIcon and showInfoWindow together.\r\nInfowindow only flickers and then is lost when icon changes.\r\n   \r\n```javascript\r\n\r\n$scope.map.addMarker({\r\n    position: latlng,\r\n    icon: 'www/img/icon_small.png',\r\n    title: 'Info'\r\n}, function (marker) {\r\n    marker.addEventListener(plugin.google.maps.event.MARKER_CLICK, function () {\r\n       $scope.showOnMap(marker);\r\n    });\r\n});\r\n\r\n$scope.showOnMap = function (marker) {\r\n    marker.setIcon({\r\n        'url': 'www/img/icon_big.png'\r\n    });\r\n    marker.showInfoWindow();\r\n```\r\n\r\nWas working in version 1.2.4."}}