{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/15","repository_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map","labels_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/15/comments","events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/15/events","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/15","id":169782875,"number":15,"title":"Make infoWindow disappear when clicking icon while infoWindow is shown","user":{"login":"tkSimon","id":484513,"avatar_url":"https://avatars.githubusercontent.com/u/484513?v=3","gravatar_id":"","url":"https://api.github.com/users/tkSimon","html_url":"https://github.com/tkSimon","followers_url":"https://api.github.com/users/tkSimon/followers","following_url":"https://api.github.com/users/tkSimon/following{/other_user}","gists_url":"https://api.github.com/users/tkSimon/gists{/gist_id}","starred_url":"https://api.github.com/users/tkSimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkSimon/subscriptions","organizations_url":"https://api.github.com/users/tkSimon/orgs","repos_url":"https://api.github.com/users/tkSimon/repos","events_url":"https://api.github.com/users/tkSimon/events{/privacy}","received_events_url":"https://api.github.com/users/tkSimon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels/frontend","name":"frontend","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-07T06:36:26Z","updated_at":"2016-09-10T06:33:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/15","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/15","diff_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/15.diff","patch_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/15.patch"},"body":"Adds functionality to make InfoWindows disappear when clicked while open already.\r\n\r\n## Description\r\nAt the moment when hovering an item on the map, its InfoWindow is shown. When clicking that item the InfoWindow stays open even when moving the mouse elsewhere. These InfoWindows must be closed clicking the \"x\" on their top right corner.\r\nThis PR will make it so that another click on the item will set make the infoWindow disappear again.\r\n\r\n## Motivation and Context\r\nCan't be bother moving the mouse to \"x\". also when clicking on items where the InfoWindow's \"x\" button is outside of the bounds of the map => can't be bothered panning the map.\r\n\r\n## How Has This Been Tested?\r\nDocker & Chome on Linux.\r\nTested across updateMap calls, with and without changes to gyms (points change) and pokemon (expiration & removal)\r\n\r\n## Types of changes\r\n[X] New feature (non-breaking change which adds functionality)\r\n\r\n## Checklist:\r\n[X] My code follows the code style of this project."},"comment":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/comments/246094140","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/15#issuecomment-246094140","issue_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/15","id":246094140,"user":{"login":"tkSimon","id":484513,"avatar_url":"https://avatars.githubusercontent.com/u/484513?v=3","gravatar_id":"","url":"https://api.github.com/users/tkSimon","html_url":"https://github.com/tkSimon","followers_url":"https://api.github.com/users/tkSimon/followers","following_url":"https://api.github.com/users/tkSimon/following{/other_user}","gists_url":"https://api.github.com/users/tkSimon/gists{/gist_id}","starred_url":"https://api.github.com/users/tkSimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkSimon/subscriptions","organizations_url":"https://api.github.com/users/tkSimon/orgs","repos_url":"https://api.github.com/users/tkSimon/repos","events_url":"https://api.github.com/users/tkSimon/events{/privacy}","received_events_url":"https://api.github.com/users/tkSimon/received_events","type":"User","site_admin":false},"created_at":"2016-09-10T06:33:38Z","updated_at":"2016-09-10T06:33:38Z","body":"Was never meant to close any other infowindows than the one of the clicked item.\r\nDescription might not be 100% clear on that, sorry"}}
{"actor":{"display_login":"tkSimon"}}