{"action":"opened","number":4040,"pull_request":{"url":"https://api.github.com/repos/Leaflet/Leaflet/pulls/4040","id":51476672,"html_url":"https://github.com/Leaflet/Leaflet/pull/4040","diff_url":"https://github.com/Leaflet/Leaflet/pull/4040.diff","patch_url":"https://github.com/Leaflet/Leaflet/pull/4040.patch","issue_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4040","number":4040,"state":"open","locked":false,"title":"Fix GridLayer pixelBounds computation","user":{"login":"yohanboniface","id":146023,"avatar_url":"https://avatars.githubusercontent.com/u/146023?v=3","gravatar_id":"","url":"https://api.github.com/users/yohanboniface","html_url":"https://github.com/yohanboniface","followers_url":"https://api.github.com/users/yohanboniface/followers","following_url":"https://api.github.com/users/yohanboniface/following{/other_user}","gists_url":"https://api.github.com/users/yohanboniface/gists{/gist_id}","starred_url":"https://api.github.com/users/yohanboniface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohanboniface/subscriptions","organizations_url":"https://api.github.com/users/yohanboniface/orgs","repos_url":"https://api.github.com/users/yohanboniface/repos","events_url":"https://api.github.com/users/yohanboniface/events{/privacy}","received_events_url":"https://api.github.com/users/yohanboniface/received_events","type":"User","site_admin":false},"body":"Map size does not change from one zoom to another, so we don't need\r\nto scale it.\r\n\r\nWithout this change, we are creating more or less 4x tiles when\r\nzooming in.\r\nThere are still cases where we are requesting a bit more tiles than\r\nwhat I would expect, but I see it also happens on 0.7.3.\r\n\r\nI've added a test, it passes on Firefox or Chromium, but it fails on phantomJS, not clue why, joy of headless browser… Not sure if we want to keep it or not, then.","created_at":"2015-11-22T22:23:43Z","updated_at":"2015-11-22T22:23:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c5395d05ea6bee5b4e9c127aa0b7e2845fe9469","assignee":null,"milestone":{"url":"https://api.github.com/repos/Leaflet/Leaflet/milestones/27","html_url":"https://github.com/Leaflet/Leaflet/milestones/1.0-beta3","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/milestones/27/labels","id":1342302,"number":27,"title":"1.0-beta3","description":"","creator":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":9,"state":"open","created_at":"2015-10-07T10:17:53Z","updated_at":"2015-11-22T22:23:43Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Leaflet/Leaflet/pulls/4040/commits","review_comments_url":"https://api.github.com/repos/Leaflet/Leaflet/pulls/4040/comments","review_comment_url":"https://api.github.com/repos/Leaflet/Leaflet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4040/comments","statuses_url":"https://api.github.com/repos/Leaflet/Leaflet/statuses/e2fbe19683502fd4b08cb09edded8c4dbd004c89","head":{"label":"Leaflet:gridlayer-pixelbounds","ref":"gridlayer-pixelbounds","sha":"e2fbe19683502fd4b08cb09edded8c4dbd004c89","user":{"login":"Leaflet","id":2854298,"avatar_url":"https://avatars.githubusercontent.com/u/2854298?v=3","gravatar_id":"","url":"https://api.github.com/users/Leaflet","html_url":"https://github.com/Leaflet","followers_url":"https://api.github.com/users/Leaflet/followers","following_url":"https://api.github.com/users/Leaflet/following{/other_user}","gists_url":"https://api.github.com/users/Leaflet/gists{/gist_id}","starred_url":"https://api.github.com/users/Leaflet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leaflet/subscriptions","organizations_url":"https://api.github.com/users/Leaflet/orgs","repos_url":"https://api.github.com/users/Leaflet/repos","events_url":"https://api.github.com/users/Leaflet/events{/privacy}","received_events_url":"https://api.github.com/users/Leaflet/received_events","type":"Organization","site_admin":false},"repo":{"id":931135,"name":"Leaflet","full_name":"Leaflet/Leaflet","owner":{"login":"Leaflet","id":2854298,"avatar_url":"https://avatars.githubusercontent.com/u/2854298?v=3","gravatar_id":"","url":"https://api.github.com/users/Leaflet","html_url":"https://github.com/Leaflet","followers_url":"https://api.github.com/users/Leaflet/followers","following_url":"https://api.github.com/users/Leaflet/following{/other_user}","gists_url":"https://api.github.com/users/Leaflet/gists{/gist_id}","starred_url":"https://api.github.com/users/Leaflet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leaflet/subscriptions","organizations_url":"https://api.github.com/users/Leaflet/orgs","repos_url":"https://api.github.com/users/Leaflet/repos","events_url":"https://api.github.com/users/Leaflet/events{/privacy}","received_events_url":"https://api.github.com/users/Leaflet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Leaflet/Leaflet","description":"JavaScript library for mobile-friendly interactive maps","fork":false,"url":"https://api.github.com/repos/Leaflet/Leaflet","forks_url":"https://api.github.com/repos/Leaflet/Leaflet/forks","keys_url":"https://api.github.com/repos/Leaflet/Leaflet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Leaflet/Leaflet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Leaflet/Leaflet/teams","hooks_url":"https://api.github.com/repos/Leaflet/Leaflet/hooks","issue_events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/events{/number}","events_url":"https://api.github.com/repos/Leaflet/Leaflet/events","assignees_url":"https://api.github.com/repos/Leaflet/Leaflet/assignees{/user}","branches_url":"https://api.github.com/repos/Leaflet/Leaflet/branches{/branch}","tags_url":"https://api.github.com/repos/Leaflet/Leaflet/tags","blobs_url":"https://api.github.com/repos/Leaflet/Leaflet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Leaflet/Leaflet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Leaflet/Leaflet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Leaflet/Leaflet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Leaflet/Leaflet/statuses/{sha}","languages_url":"https://api.github.com/repos/Leaflet/Leaflet/languages","stargazers_url":"https://api.github.com/repos/Leaflet/Leaflet/stargazers","contributors_url":"https://api.github.com/repos/Leaflet/Leaflet/contributors","subscribers_url":"https://api.github.com/repos/Leaflet/Leaflet/subscribers","subscription_url":"https://api.github.com/repos/Leaflet/Leaflet/subscription","commits_url":"https://api.github.com/repos/Leaflet/Leaflet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Leaflet/Leaflet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Leaflet/Leaflet/contents/{+path}","compare_url":"https://api.github.com/repos/Leaflet/Leaflet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Leaflet/Leaflet/merges","archive_url":"https://api.github.com/repos/Leaflet/Leaflet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Leaflet/Leaflet/downloads","issues_url":"https://api.github.com/repos/Leaflet/Leaflet/issues{/number}","pulls_url":"https://api.github.com/repos/Leaflet/Leaflet/pulls{/number}","milestones_url":"https://api.github.com/repos/Leaflet/Leaflet/milestones{/number}","notifications_url":"https://api.github.com/repos/Leaflet/Leaflet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/labels{/name}","releases_url":"https://api.github.com/repos/Leaflet/Leaflet/releases{/id}","created_at":"2010-09-22T16:57:44Z","updated_at":"2015-11-22T20:35:05Z","pushed_at":"2015-11-22T22:23:46Z","git_url":"git://github.com/Leaflet/Leaflet.git","ssh_url":"git@github.com:Leaflet/Leaflet.git","clone_url":"https://github.com/Leaflet/Leaflet.git","svn_url":"https://github.com/Leaflet/Leaflet","homepage":"http://leafletjs.com","size":40406,"stargazers_count":12149,"watchers_count":12149,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":2197,"mirror_url":null,"open_issues_count":244,"forks":2197,"open_issues":244,"watchers":12149,"default_branch":"master"}},"base":{"label":"Leaflet:master","ref":"master","sha":"63f239a20fcf69cb9d3a4ad94d8b7c4b481e55e7","user":{"login":"Leaflet","id":2854298,"avatar_url":"https://avatars.githubusercontent.com/u/2854298?v=3","gravatar_id":"","url":"https://api.github.com/users/Leaflet","html_url":"https://github.com/Leaflet","followers_url":"https://api.github.com/users/Leaflet/followers","following_url":"https://api.github.com/users/Leaflet/following{/other_user}","gists_url":"https://api.github.com/users/Leaflet/gists{/gist_id}","starred_url":"https://api.github.com/users/Leaflet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leaflet/subscriptions","organizations_url":"https://api.github.com/users/Leaflet/orgs","repos_url":"https://api.github.com/users/Leaflet/repos","events_url":"https://api.github.com/users/Leaflet/events{/privacy}","received_events_url":"https://api.github.com/users/Leaflet/received_events","type":"Organization","site_admin":false},"repo":{"id":931135,"name":"Leaflet","full_name":"Leaflet/Leaflet","owner":{"login":"Leaflet","id":2854298,"avatar_url":"https://avatars.githubusercontent.com/u/2854298?v=3","gravatar_id":"","url":"https://api.github.com/users/Leaflet","html_url":"https://github.com/Leaflet","followers_url":"https://api.github.com/users/Leaflet/followers","following_url":"https://api.github.com/users/Leaflet/following{/other_user}","gists_url":"https://api.github.com/users/Leaflet/gists{/gist_id}","starred_url":"https://api.github.com/users/Leaflet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leaflet/subscriptions","organizations_url":"https://api.github.com/users/Leaflet/orgs","repos_url":"https://api.github.com/users/Leaflet/repos","events_url":"https://api.github.com/users/Leaflet/events{/privacy}","received_events_url":"https://api.github.com/users/Leaflet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Leaflet/Leaflet","description":"JavaScript library for mobile-friendly interactive maps","fork":false,"url":"https://api.github.com/repos/Leaflet/Leaflet","forks_url":"https://api.github.com/repos/Leaflet/Leaflet/forks","keys_url":"https://api.github.com/repos/Leaflet/Leaflet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Leaflet/Leaflet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Leaflet/Leaflet/teams","hooks_url":"https://api.github.com/repos/Leaflet/Leaflet/hooks","issue_events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/events{/number}","events_url":"https://api.github.com/repos/Leaflet/Leaflet/events","assignees_url":"https://api.github.com/repos/Leaflet/Leaflet/assignees{/user}","branches_url":"https://api.github.com/repos/Leaflet/Leaflet/branches{/branch}","tags_url":"https://api.github.com/repos/Leaflet/Leaflet/tags","blobs_url":"https://api.github.com/repos/Leaflet/Leaflet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Leaflet/Leaflet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Leaflet/Leaflet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Leaflet/Leaflet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Leaflet/Leaflet/statuses/{sha}","languages_url":"https://api.github.com/repos/Leaflet/Leaflet/languages","stargazers_url":"https://api.github.com/repos/Leaflet/Leaflet/stargazers","contributors_url":"https://api.github.com/repos/Leaflet/Leaflet/contributors","subscribers_url":"https://api.github.com/repos/Leaflet/Leaflet/subscribers","subscription_url":"https://api.github.com/repos/Leaflet/Leaflet/subscription","commits_url":"https://api.github.com/repos/Leaflet/Leaflet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Leaflet/Leaflet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Leaflet/Leaflet/contents/{+path}","compare_url":"https://api.github.com/repos/Leaflet/Leaflet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Leaflet/Leaflet/merges","archive_url":"https://api.github.com/repos/Leaflet/Leaflet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Leaflet/Leaflet/downloads","issues_url":"https://api.github.com/repos/Leaflet/Leaflet/issues{/number}","pulls_url":"https://api.github.com/repos/Leaflet/Leaflet/pulls{/number}","milestones_url":"https://api.github.com/repos/Leaflet/Leaflet/milestones{/number}","notifications_url":"https://api.github.com/repos/Leaflet/Leaflet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/labels{/name}","releases_url":"https://api.github.com/repos/Leaflet/Leaflet/releases{/id}","created_at":"2010-09-22T16:57:44Z","updated_at":"2015-11-22T20:35:05Z","pushed_at":"2015-11-22T22:23:46Z","git_url":"git://github.com/Leaflet/Leaflet.git","ssh_url":"git@github.com:Leaflet/Leaflet.git","clone_url":"https://github.com/Leaflet/Leaflet.git","svn_url":"https://github.com/Leaflet/Leaflet","homepage":"http://leafletjs.com","size":40406,"stargazers_count":12149,"watchers_count":12149,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":2197,"mirror_url":null,"open_issues_count":244,"forks":2197,"open_issues":244,"watchers":12149,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Leaflet/Leaflet/pulls/4040"},"html":{"href":"https://github.com/Leaflet/Leaflet/pull/4040"},"issue":{"href":"https://api.github.com/repos/Leaflet/Leaflet/issues/4040"},"comments":{"href":"https://api.github.com/repos/Leaflet/Leaflet/issues/4040/comments"},"review_comments":{"href":"https://api.github.com/repos/Leaflet/Leaflet/pulls/4040/comments"},"review_comment":{"href":"https://api.github.com/repos/Leaflet/Leaflet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Leaflet/Leaflet/pulls/4040/commits"},"statuses":{"href":"https://api.github.com/repos/Leaflet/Leaflet/statuses/e2fbe19683502fd4b08cb09edded8c4dbd004c89"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":46,"deletions":5,"changed_files":2}}