{"action":"created","comment":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments/95098298","pull_request_review_id":15642227,"id":95098298,"diff_hunk":"@@ -14,6 +14,7 @@ var $selectSearchIconMarker\n var $selectGymMarkerStyle\n var $selectLocationIconMarker\n var $switchGymSidebar\n+var $showTimers","path":"static/js/map.js","position":4,"original_position":4,"commit_id":"cab2b0f10fb6879201ca03f4f3b146b8547890ff","original_commit_id":"cab2b0f10fb6879201ca03f4f3b146b8547890ff","user":{"login":"kevdotcom","id":20540211,"avatar_url":"https://avatars.githubusercontent.com/u/20540211?v=3","gravatar_id":"","url":"https://api.github.com/users/kevdotcom","html_url":"https://github.com/kevdotcom","followers_url":"https://api.github.com/users/kevdotcom/followers","following_url":"https://api.github.com/users/kevdotcom/following{/other_user}","gists_url":"https://api.github.com/users/kevdotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/kevdotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevdotcom/subscriptions","organizations_url":"https://api.github.com/users/kevdotcom/orgs","repos_url":"https://api.github.com/users/kevdotcom/repos","events_url":"https://api.github.com/users/kevdotcom/events{/privacy}","received_events_url":"https://api.github.com/users/kevdotcom/received_events","type":"User","site_admin":false},"body":"```js\r\n  $('#gyms-switch').prop('checked', Store.get('showGyms'))\r\n  $('#gym-sidebar-switch').prop('checked', Store.get('useGymSidebar'))\r\n  $('#gym-sidebar-wrapper').toggle(Store.get('showGyms'))\r\n  $('#pokemon-switch').prop('checked', Store.get('showPokemon'))\r\n```\r\n\r\nIf you look at the whole code, you can see that the variables with \"select\" in their name are for anything but on/off-switches. Pokemon, Gym, Pokestop, etc on/off-switches have \"showX\" as their variable.","created_at":"2017-01-09T03:04:31Z","updated_at":"2017-01-09T03:04:31Z","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1667#discussion_r95098298","pull_request_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/1667","_links":{"self":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments/95098298"},"html":{"href":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1667#discussion_r95098298"},"pull_request":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/1667"}}},"pull_request":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/1667","id":99883563,"html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1667","diff_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1667.diff","patch_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1667.patch","issue_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/1667","number":1667,"state":"open","locked":false,"title":"Show Timers below Pokémon Icons (update of #1455)","user":{"login":"kevdotcom","id":20540211,"avatar_url":"https://avatars.githubusercontent.com/u/20540211?v=3","gravatar_id":"","url":"https://api.github.com/users/kevdotcom","html_url":"https://github.com/kevdotcom","followers_url":"https://api.github.com/users/kevdotcom/followers","following_url":"https://api.github.com/users/kevdotcom/following{/other_user}","gists_url":"https://api.github.com/users/kevdotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/kevdotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevdotcom/subscriptions","organizations_url":"https://api.github.com/users/kevdotcom/orgs","repos_url":"https://api.github.com/users/kevdotcom/repos","events_url":"https://api.github.com/users/kevdotcom/events{/privacy}","received_events_url":"https://api.github.com/users/kevdotcom/received_events","type":"User","site_admin":false},"body":"## Description\r\nAdds disappear timers below Pokemon so the User can see the remaining time of the Pokémon immediately without having to tap on it first. Automatically hides below a certain zoomlevel. (Can be set in map.common.js)\r\n\r\n## Motivation and Context\r\nI always liked the idea of having timers below the Icons as a QOL-Feature. #1455 brought us this feature, but not very well optimized and without a switch for turning it on and off. \r\n\r\n## How Has This Been Tested?\r\nTested with a well populated Database.\r\n\r\n## Screenshots (if appropriate):\r\n![image](https://cloud.githubusercontent.com/assets/20540211/21594036/10d6c1d4-d11e-11e6-9a32-23d3ef779e05.png)\r\n\r\n## Types of changes (to 1455)\r\n- Added on-off-switch.\r\n- Labels dynamically hide below certain zoom levels.\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n","created_at":"2017-01-02T18:05:34Z","updated_at":"2017-01-09T03:04:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16f179550df3fd6a7c61acf683aa4ebf76a194ec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/1667/commits","review_comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/1667/comments","review_comment_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/1667/comments","statuses_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/cab2b0f10fb6879201ca03f4f3b146b8547890ff","head":{"label":"kevdotcom:develop","ref":"develop","sha":"cab2b0f10fb6879201ca03f4f3b146b8547890ff","user":{"login":"kevdotcom","id":20540211,"avatar_url":"https://avatars.githubusercontent.com/u/20540211?v=3","gravatar_id":"","url":"https://api.github.com/users/kevdotcom","html_url":"https://github.com/kevdotcom","followers_url":"https://api.github.com/users/kevdotcom/followers","following_url":"https://api.github.com/users/kevdotcom/following{/other_user}","gists_url":"https://api.github.com/users/kevdotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/kevdotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevdotcom/subscriptions","organizations_url":"https://api.github.com/users/kevdotcom/orgs","repos_url":"https://api.github.com/users/kevdotcom/repos","events_url":"https://api.github.com/users/kevdotcom/events{/privacy}","received_events_url":"https://api.github.com/users/kevdotcom/received_events","type":"User","site_admin":false},"repo":{"id":77851454,"name":"PokemonGo-Map-1","full_name":"kevdotcom/PokemonGo-Map-1","owner":{"login":"kevdotcom","id":20540211,"avatar_url":"https://avatars.githubusercontent.com/u/20540211?v=3","gravatar_id":"","url":"https://api.github.com/users/kevdotcom","html_url":"https://github.com/kevdotcom","followers_url":"https://api.github.com/users/kevdotcom/followers","following_url":"https://api.github.com/users/kevdotcom/following{/other_user}","gists_url":"https://api.github.com/users/kevdotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/kevdotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevdotcom/subscriptions","organizations_url":"https://api.github.com/users/kevdotcom/orgs","repos_url":"https://api.github.com/users/kevdotcom/repos","events_url":"https://api.github.com/users/kevdotcom/events{/privacy}","received_events_url":"https://api.github.com/users/kevdotcom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevdotcom/PokemonGo-Map-1","description":"🌏 Live visualization of all the pokemon in your area... and more!","fork":true,"url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1","forks_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/forks","keys_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/teams","hooks_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/hooks","issue_events_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/issues/events{/number}","events_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/events","assignees_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/assignees{/user}","branches_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/branches{/branch}","tags_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/tags","blobs_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/statuses/{sha}","languages_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/languages","stargazers_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/stargazers","contributors_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/contributors","subscribers_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/subscribers","subscription_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/subscription","commits_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/contents/{+path}","compare_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/merges","archive_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/downloads","issues_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/issues{/number}","pulls_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/pulls{/number}","milestones_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/milestones{/number}","notifications_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/labels{/name}","releases_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/releases{/id}","deployments_url":"https://api.github.com/repos/kevdotcom/PokemonGo-Map-1/deployments","created_at":"2017-01-02T17:52:22Z","updated_at":"2017-01-02T17:52:25Z","pushed_at":"2017-01-02T20:23:31Z","git_url":"git://github.com/kevdotcom/PokemonGo-Map-1.git","ssh_url":"git@github.com:kevdotcom/PokemonGo-Map-1.git","clone_url":"https://github.com/kevdotcom/PokemonGo-Map-1.git","svn_url":"https://github.com/kevdotcom/PokemonGo-Map-1","homepage":"","size":24616,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"PokemonGoMap:develop","ref":"develop","sha":"ca68e7435d992129659e2db1e509e8129d11ea89","user":{"login":"PokemonGoMap","id":20848202,"avatar_url":"https://avatars.githubusercontent.com/u/20848202?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoMap","html_url":"https://github.com/PokemonGoMap","followers_url":"https://api.github.com/users/PokemonGoMap/followers","following_url":"https://api.github.com/users/PokemonGoMap/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoMap/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoMap/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoMap/orgs","repos_url":"https://api.github.com/users/PokemonGoMap/repos","events_url":"https://api.github.com/users/PokemonGoMap/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoMap/received_events","type":"Organization","site_admin":false},"repo":{"id":64970925,"name":"PokemonGo-Map","full_name":"PokemonGoMap/PokemonGo-Map","owner":{"login":"PokemonGoMap","id":20848202,"avatar_url":"https://avatars.githubusercontent.com/u/20848202?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoMap","html_url":"https://github.com/PokemonGoMap","followers_url":"https://api.github.com/users/PokemonGoMap/followers","following_url":"https://api.github.com/users/PokemonGoMap/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoMap/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoMap/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoMap/orgs","repos_url":"https://api.github.com/users/PokemonGoMap/repos","events_url":"https://api.github.com/users/PokemonGoMap/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoMap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PokemonGoMap/PokemonGo-Map","description":"🌏 Live visualization of all the pokemon in your area... and more!","fork":false,"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map","forks_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/forks","keys_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/teams","hooks_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/hooks","issue_events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/events{/number}","events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/events","assignees_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/assignees{/user}","branches_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/branches{/branch}","tags_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/tags","blobs_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/refs{/sha}","trees_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/{sha}","languages_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/languages","stargazers_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/stargazers","contributors_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/contributors","subscribers_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/subscribers","subscription_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/subscription","commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/commits{/sha}","git_commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/commits{/sha}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/comments{/number}","issue_comment_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/comments{/number}","contents_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/contents/{+path}","compare_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/merges","archive_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/downloads","issues_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues{/number}","pulls_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls{/number}","milestones_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/milestones{/number}","notifications_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels{/name}","releases_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/releases{/id}","deployments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/deployments","created_at":"2016-08-04T22:18:49Z","updated_at":"2017-01-09T00:52:08Z","pushed_at":"2017-01-09T03:00:56Z","git_url":"git://github.com/PokemonGoMap/PokemonGo-Map.git","ssh_url":"git@github.com:PokemonGoMap/PokemonGo-Map.git","clone_url":"https://github.com/PokemonGoMap/PokemonGo-Map.git","svn_url":"https://github.com/PokemonGoMap/PokemonGo-Map","homepage":"","size":24601,"stargazers_count":2577,"watchers_count":2577,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1527,"mirror_url":null,"open_issues_count":240,"forks":1527,"open_issues":240,"watchers":2577,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/1667"},"html":{"href":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1667"},"issue":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/1667"},"comments":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/1667/comments"},"review_comments":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/1667/comments"},"review_comment":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/1667/commits"},"statuses":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/cab2b0f10fb6879201ca03f4f3b146b8547890ff"}}}}
{"actor":{"display_login":"kevdotcom"}}