{"action":"opened","number":142,"pull_request":{"url":"https://api.github.com/repos/predixdesignsystem/px-map/pulls/142","id":241523459,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNTIzNDU5","html_url":"https://github.com/predixdesignsystem/px-map/pull/142","diff_url":"https://github.com/predixdesignsystem/px-map/pull/142.diff","patch_url":"https://github.com/predixdesignsystem/px-map/pull/142.patch","issue_url":"https://api.github.com/repos/predixdesignsystem/px-map/issues/142","number":142,"state":"open","locked":false,"title":"px-map now prevents zooming outside the supported bounds of any children layers","user":{"login":"evanjd","id":4055224,"node_id":"MDQ6VXNlcjQwNTUyMjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4055224?v=4","gravatar_id":"","url":"https://api.github.com/users/evanjd","html_url":"https://github.com/evanjd","followers_url":"https://api.github.com/users/evanjd/followers","following_url":"https://api.github.com/users/evanjd/following{/other_user}","gists_url":"https://api.github.com/users/evanjd/gists{/gist_id}","starred_url":"https://api.github.com/users/evanjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanjd/subscriptions","organizations_url":"https://api.github.com/users/evanjd/orgs","repos_url":"https://api.github.com/users/evanjd/repos","events_url":"https://api.github.com/users/evanjd/events{/privacy}","received_events_url":"https://api.github.com/users/evanjd/received_events","type":"User","site_admin":false},"body":"# Pull Request\r\n\r\n* ## A description of the changes proposed in the pull request:\r\n\r\nThe `minZoom` and `maxZoom` options are now clamped to the min and maximum zoom levels of all children layers, to prevent users from zooming out of bounds.\r\n\r\nFor example, using the Bing layer:\r\n\r\n**Before: (allows user to zoom out to 0, nothing visible at all)**:\r\n<img width=\"612\" alt=\"screen shot 2018-12-31 at 11 30 35 am\" src=\"https://user-images.githubusercontent.com/4055224/50552809-833c6080-0cef-11e9-98bf-b8b397e8851e.png\">\r\n\r\n**After (zoom level 1, user preventing from zooming out further)**:\r\n<img width=\"616\" alt=\"screen shot 2018-12-31 at 2 47 23 pm\" src=\"https://user-images.githubusercontent.com/4055224/50554224-01f2c700-0d0b-11e9-88a1-1277fca08329.png\">\r\n\r\n* ## A reference to a related issue (if applicable):\r\n\r\nResolves #90 \r\n","created_at":"2018-12-31T03:53:33Z","updated_at":"2018-12-31T03:53:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/predixdesignsystem/px-map/pulls/142/commits","review_comments_url":"https://api.github.com/repos/predixdesignsystem/px-map/pulls/142/comments","review_comment_url":"https://api.github.com/repos/predixdesignsystem/px-map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/predixdesignsystem/px-map/issues/142/comments","statuses_url":"https://api.github.com/repos/predixdesignsystem/px-map/statuses/fd338135f756f67051a316ee2bd580d356f785fb","head":{"label":"predixdesignsystem:fix-min-zoom-bing","ref":"fix-min-zoom-bing","sha":"fd338135f756f67051a316ee2bd580d356f785fb","user":{"login":"predixdesignsystem","id":32078779,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDc4Nzc5","avatar_url":"https://avatars2.githubusercontent.com/u/32078779?v=4","gravatar_id":"","url":"https://api.github.com/users/predixdesignsystem","html_url":"https://github.com/predixdesignsystem","followers_url":"https://api.github.com/users/predixdesignsystem/followers","following_url":"https://api.github.com/users/predixdesignsystem/following{/other_user}","gists_url":"https://api.github.com/users/predixdesignsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/predixdesignsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/predixdesignsystem/subscriptions","organizations_url":"https://api.github.com/users/predixdesignsystem/orgs","repos_url":"https://api.github.com/users/predixdesignsystem/repos","events_url":"https://api.github.com/users/predixdesignsystem/events{/privacy}","received_events_url":"https://api.github.com/users/predixdesignsystem/received_events","type":"Organization","site_admin":false},"repo":{"id":59331179,"node_id":"MDEwOlJlcG9zaXRvcnk1OTMzMTE3OQ==","name":"px-map","full_name":"predixdesignsystem/px-map","private":false,"owner":{"login":"predixdesignsystem","id":32078779,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDc4Nzc5","avatar_url":"https://avatars2.githubusercontent.com/u/32078779?v=4","gravatar_id":"","url":"https://api.github.com/users/predixdesignsystem","html_url":"https://github.com/predixdesignsystem","followers_url":"https://api.github.com/users/predixdesignsystem/followers","following_url":"https://api.github.com/users/predixdesignsystem/following{/other_user}","gists_url":"https://api.github.com/users/predixdesignsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/predixdesignsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/predixdesignsystem/subscriptions","organizations_url":"https://api.github.com/users/predixdesignsystem/orgs","repos_url":"https://api.github.com/users/predixdesignsystem/repos","events_url":"https://api.github.com/users/predixdesignsystem/events{/privacy}","received_events_url":"https://api.github.com/users/predixdesignsystem/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/predixdesignsystem/px-map","description":null,"fork":false,"url":"https://api.github.com/repos/predixdesignsystem/px-map","forks_url":"https://api.github.com/repos/predixdesignsystem/px-map/forks","keys_url":"https://api.github.com/repos/predixdesignsystem/px-map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/predixdesignsystem/px-map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/predixdesignsystem/px-map/teams","hooks_url":"https://api.github.com/repos/predixdesignsystem/px-map/hooks","issue_events_url":"https://api.github.com/repos/predixdesignsystem/px-map/issues/events{/number}","events_url":"https://api.github.com/repos/predixdesignsystem/px-map/events","assignees_url":"https://api.github.com/repos/predixdesignsystem/px-map/assignees{/user}","branches_url":"https://api.github.com/repos/predixdesignsystem/px-map/branches{/branch}","tags_url":"https://api.github.com/repos/predixdesignsystem/px-map/tags","blobs_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/refs{/sha}","trees_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/predixdesignsystem/px-map/statuses/{sha}","languages_url":"https://api.github.com/repos/predixdesignsystem/px-map/languages","stargazers_url":"https://api.github.com/repos/predixdesignsystem/px-map/stargazers","contributors_url":"https://api.github.com/repos/predixdesignsystem/px-map/contributors","subscribers_url":"https://api.github.com/repos/predixdesignsystem/px-map/subscribers","subscription_url":"https://api.github.com/repos/predixdesignsystem/px-map/subscription","commits_url":"https://api.github.com/repos/predixdesignsystem/px-map/commits{/sha}","git_commits_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/commits{/sha}","comments_url":"https://api.github.com/repos/predixdesignsystem/px-map/comments{/number}","issue_comment_url":"https://api.github.com/repos/predixdesignsystem/px-map/issues/comments{/number}","contents_url":"https://api.github.com/repos/predixdesignsystem/px-map/contents/{+path}","compare_url":"https://api.github.com/repos/predixdesignsystem/px-map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/predixdesignsystem/px-map/merges","archive_url":"https://api.github.com/repos/predixdesignsystem/px-map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/predixdesignsystem/px-map/downloads","issues_url":"https://api.github.com/repos/predixdesignsystem/px-map/issues{/number}","pulls_url":"https://api.github.com/repos/predixdesignsystem/px-map/pulls{/number}","milestones_url":"https://api.github.com/repos/predixdesignsystem/px-map/milestones{/number}","notifications_url":"https://api.github.com/repos/predixdesignsystem/px-map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/predixdesignsystem/px-map/labels{/name}","releases_url":"https://api.github.com/repos/predixdesignsystem/px-map/releases{/id}","deployments_url":"https://api.github.com/repos/predixdesignsystem/px-map/deployments","created_at":"2016-05-20T23:00:52Z","updated_at":"2018-12-28T10:51:57Z","pushed_at":"2018-12-31T03:53:23Z","git_url":"git://github.com/predixdesignsystem/px-map.git","ssh_url":"git@github.com:predixdesignsystem/px-map.git","clone_url":"https://github.com/predixdesignsystem/px-map.git","svn_url":"https://github.com/predixdesignsystem/px-map","homepage":"https://www.predix-ui.com/#/components/px-map/","size":11052,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":18,"open_issues":21,"watchers":10,"default_branch":"master"}},"base":{"label":"predixdesignsystem:master","ref":"master","sha":"e97b518ae809462e71864752e9a9b7efebff4376","user":{"login":"predixdesignsystem","id":32078779,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDc4Nzc5","avatar_url":"https://avatars2.githubusercontent.com/u/32078779?v=4","gravatar_id":"","url":"https://api.github.com/users/predixdesignsystem","html_url":"https://github.com/predixdesignsystem","followers_url":"https://api.github.com/users/predixdesignsystem/followers","following_url":"https://api.github.com/users/predixdesignsystem/following{/other_user}","gists_url":"https://api.github.com/users/predixdesignsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/predixdesignsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/predixdesignsystem/subscriptions","organizations_url":"https://api.github.com/users/predixdesignsystem/orgs","repos_url":"https://api.github.com/users/predixdesignsystem/repos","events_url":"https://api.github.com/users/predixdesignsystem/events{/privacy}","received_events_url":"https://api.github.com/users/predixdesignsystem/received_events","type":"Organization","site_admin":false},"repo":{"id":59331179,"node_id":"MDEwOlJlcG9zaXRvcnk1OTMzMTE3OQ==","name":"px-map","full_name":"predixdesignsystem/px-map","private":false,"owner":{"login":"predixdesignsystem","id":32078779,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDc4Nzc5","avatar_url":"https://avatars2.githubusercontent.com/u/32078779?v=4","gravatar_id":"","url":"https://api.github.com/users/predixdesignsystem","html_url":"https://github.com/predixdesignsystem","followers_url":"https://api.github.com/users/predixdesignsystem/followers","following_url":"https://api.github.com/users/predixdesignsystem/following{/other_user}","gists_url":"https://api.github.com/users/predixdesignsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/predixdesignsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/predixdesignsystem/subscriptions","organizations_url":"https://api.github.com/users/predixdesignsystem/orgs","repos_url":"https://api.github.com/users/predixdesignsystem/repos","events_url":"https://api.github.com/users/predixdesignsystem/events{/privacy}","received_events_url":"https://api.github.com/users/predixdesignsystem/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/predixdesignsystem/px-map","description":null,"fork":false,"url":"https://api.github.com/repos/predixdesignsystem/px-map","forks_url":"https://api.github.com/repos/predixdesignsystem/px-map/forks","keys_url":"https://api.github.com/repos/predixdesignsystem/px-map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/predixdesignsystem/px-map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/predixdesignsystem/px-map/teams","hooks_url":"https://api.github.com/repos/predixdesignsystem/px-map/hooks","issue_events_url":"https://api.github.com/repos/predixdesignsystem/px-map/issues/events{/number}","events_url":"https://api.github.com/repos/predixdesignsystem/px-map/events","assignees_url":"https://api.github.com/repos/predixdesignsystem/px-map/assignees{/user}","branches_url":"https://api.github.com/repos/predixdesignsystem/px-map/branches{/branch}","tags_url":"https://api.github.com/repos/predixdesignsystem/px-map/tags","blobs_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/refs{/sha}","trees_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/predixdesignsystem/px-map/statuses/{sha}","languages_url":"https://api.github.com/repos/predixdesignsystem/px-map/languages","stargazers_url":"https://api.github.com/repos/predixdesignsystem/px-map/stargazers","contributors_url":"https://api.github.com/repos/predixdesignsystem/px-map/contributors","subscribers_url":"https://api.github.com/repos/predixdesignsystem/px-map/subscribers","subscription_url":"https://api.github.com/repos/predixdesignsystem/px-map/subscription","commits_url":"https://api.github.com/repos/predixdesignsystem/px-map/commits{/sha}","git_commits_url":"https://api.github.com/repos/predixdesignsystem/px-map/git/commits{/sha}","comments_url":"https://api.github.com/repos/predixdesignsystem/px-map/comments{/number}","issue_comment_url":"https://api.github.com/repos/predixdesignsystem/px-map/issues/comments{/number}","contents_url":"https://api.github.com/repos/predixdesignsystem/px-map/contents/{+path}","compare_url":"https://api.github.com/repos/predixdesignsystem/px-map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/predixdesignsystem/px-map/merges","archive_url":"https://api.github.com/repos/predixdesignsystem/px-map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/predixdesignsystem/px-map/downloads","issues_url":"https://api.github.com/repos/predixdesignsystem/px-map/issues{/number}","pulls_url":"https://api.github.com/repos/predixdesignsystem/px-map/pulls{/number}","milestones_url":"https://api.github.com/repos/predixdesignsystem/px-map/milestones{/number}","notifications_url":"https://api.github.com/repos/predixdesignsystem/px-map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/predixdesignsystem/px-map/labels{/name}","releases_url":"https://api.github.com/repos/predixdesignsystem/px-map/releases{/id}","deployments_url":"https://api.github.com/repos/predixdesignsystem/px-map/deployments","created_at":"2016-05-20T23:00:52Z","updated_at":"2018-12-28T10:51:57Z","pushed_at":"2018-12-31T03:53:23Z","git_url":"git://github.com/predixdesignsystem/px-map.git","ssh_url":"git@github.com:predixdesignsystem/px-map.git","clone_url":"https://github.com/predixdesignsystem/px-map.git","svn_url":"https://github.com/predixdesignsystem/px-map","homepage":"https://www.predix-ui.com/#/components/px-map/","size":11052,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":18,"open_issues":21,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/predixdesignsystem/px-map/pulls/142"},"html":{"href":"https://github.com/predixdesignsystem/px-map/pull/142"},"issue":{"href":"https://api.github.com/repos/predixdesignsystem/px-map/issues/142"},"comments":{"href":"https://api.github.com/repos/predixdesignsystem/px-map/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/predixdesignsystem/px-map/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/predixdesignsystem/px-map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/predixdesignsystem/px-map/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/predixdesignsystem/px-map/statuses/fd338135f756f67051a316ee2bd580d356f785fb"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":209,"deletions":9,"changed_files":3}}
{"actor":{"display_login":"evanjd"}}