{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/71047169","id":71047169,"diff_hunk":"@@ -47,16 +51,15 @@ export default function MapFactory(Private) {\n     this._valueFormatter = params.valueFormatter || _.identity;\n     this._tooltipFormatter = params.tooltipFormatter || _.identity;\n     this._geoJson = _.get(this._chartData, 'geoJson');\n-    this._mapZoom = params.zoom || defaultMapZoom;\n+    this._mapZoom =  Math.max(Math.min(params.zoom || defaultMapZoom, tilemapOptions.maxZoom), tilemapOptions.minZoom);\n     this._mapCenter = params.center || defaultMapCenter;\n     this._attr = params.attr || {};\n \n     let mapOptions = {\n-      minZoom: 1,\n-      maxZoom: 18,\n+      minZoom: tilemapOptions.minZoom,\n+      maxZoom: tilemapOptions.maxZoom,\n       noWrap: true,\n       maxBounds: L.latLngBounds([-90, -220], [90, 220]),\n-      scrollWheelZoom: false,","path":"src/ui/public/vislib/visualizations/_map.js","position":53,"original_position":53,"commit_id":"ca5a96838b0679df4697847cc085f5bc858092d1","original_commit_id":"ca5a96838b0679df4697847cc085f5bc858092d1","user":{"login":"Bargs","id":6239176,"avatar_url":"https://avatars.githubusercontent.com/u/6239176?v=3","gravatar_id":"","url":"https://api.github.com/users/Bargs","html_url":"https://github.com/Bargs","followers_url":"https://api.github.com/users/Bargs/followers","following_url":"https://api.github.com/users/Bargs/following{/other_user}","gists_url":"https://api.github.com/users/Bargs/gists{/gist_id}","starred_url":"https://api.github.com/users/Bargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bargs/subscriptions","organizations_url":"https://api.github.com/users/Bargs/orgs","repos_url":"https://api.github.com/users/Bargs/repos","events_url":"https://api.github.com/users/Bargs/events{/privacy}","received_events_url":"https://api.github.com/users/Bargs/received_events","type":"User","site_admin":false},"body":"Why did this go away?","created_at":"2016-07-15T22:03:03Z","updated_at":"2016-07-15T22:03:03Z","html_url":"https://github.com/elastic/kibana/pull/7724#discussion_r71047169","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/7724","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/71047169"},"html":{"href":"https://github.com/elastic/kibana/pull/7724#discussion_r71047169"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/7724"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/7724","id":77203215,"html_url":"https://github.com/elastic/kibana/pull/7724","diff_url":"https://github.com/elastic/kibana/pull/7724.diff","patch_url":"https://github.com/elastic/kibana/pull/7724.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/7724","number":7724,"state":"open","locked":false,"title":"Elastic Tile Service and configurable leaflet providers","user":{"login":"jbudz","id":3143860,"avatar_url":"https://avatars.githubusercontent.com/u/3143860?v=3","gravatar_id":"","url":"https://api.github.com/users/jbudz","html_url":"https://github.com/jbudz","followers_url":"https://api.github.com/users/jbudz/followers","following_url":"https://api.github.com/users/jbudz/following{/other_user}","gists_url":"https://api.github.com/users/jbudz/gists{/gist_id}","starred_url":"https://api.github.com/users/jbudz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbudz/subscriptions","organizations_url":"https://api.github.com/users/jbudz/orgs","repos_url":"https://api.github.com/users/jbudz/repos","events_url":"https://api.github.com/users/jbudz/events{/privacy}","received_events_url":"https://api.github.com/users/jbudz/received_events","type":"User","site_admin":false},"body":"This adds `tilemap` settings to kibana.yml and changes the default map provider.\r\n\r\nFixes #7717","created_at":"2016-07-12T22:33:06Z","updated_at":"2016-07-15T22:03:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bfdf8a4fd6d02a5557c199177b5031216d4c88b6","assignee":{"login":"epixa","id":53814,"avatar_url":"https://avatars.githubusercontent.com/u/53814?v=3","gravatar_id":"","url":"https://api.github.com/users/epixa","html_url":"https://github.com/epixa","followers_url":"https://api.github.com/users/epixa/followers","following_url":"https://api.github.com/users/epixa/following{/other_user}","gists_url":"https://api.github.com/users/epixa/gists{/gist_id}","starred_url":"https://api.github.com/users/epixa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epixa/subscriptions","organizations_url":"https://api.github.com/users/epixa/orgs","repos_url":"https://api.github.com/users/epixa/repos","events_url":"https://api.github.com/users/epixa/events{/privacy}","received_events_url":"https://api.github.com/users/epixa/received_events","type":"User","site_admin":false},"assignees":[{"login":"epixa","id":53814,"avatar_url":"https://avatars.githubusercontent.com/u/53814?v=3","gravatar_id":"","url":"https://api.github.com/users/epixa","html_url":"https://github.com/epixa","followers_url":"https://api.github.com/users/epixa/followers","following_url":"https://api.github.com/users/epixa/following{/other_user}","gists_url":"https://api.github.com/users/epixa/gists{/gist_id}","starred_url":"https://api.github.com/users/epixa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epixa/subscriptions","organizations_url":"https://api.github.com/users/epixa/orgs","repos_url":"https://api.github.com/users/epixa/repos","events_url":"https://api.github.com/users/epixa/events{/privacy}","received_events_url":"https://api.github.com/users/epixa/received_events","type":"User","site_admin":false},{"login":"jbudz","id":3143860,"avatar_url":"https://avatars.githubusercontent.com/u/3143860?v=3","gravatar_id":"","url":"https://api.github.com/users/jbudz","html_url":"https://github.com/jbudz","followers_url":"https://api.github.com/users/jbudz/followers","following_url":"https://api.github.com/users/jbudz/following{/other_user}","gists_url":"https://api.github.com/users/jbudz/gists{/gist_id}","starred_url":"https://api.github.com/users/jbudz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbudz/subscriptions","organizations_url":"https://api.github.com/users/jbudz/orgs","repos_url":"https://api.github.com/users/jbudz/repos","events_url":"https://api.github.com/users/jbudz/events{/privacy}","received_events_url":"https://api.github.com/users/jbudz/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/7724/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/7724/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/7724/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/ca5a96838b0679df4697847cc085f5bc858092d1","head":{"label":"jbudz:server-map-url","ref":"server-map-url","sha":"ca5a96838b0679df4697847cc085f5bc858092d1","user":{"login":"jbudz","id":3143860,"avatar_url":"https://avatars.githubusercontent.com/u/3143860?v=3","gravatar_id":"","url":"https://api.github.com/users/jbudz","html_url":"https://github.com/jbudz","followers_url":"https://api.github.com/users/jbudz/followers","following_url":"https://api.github.com/users/jbudz/following{/other_user}","gists_url":"https://api.github.com/users/jbudz/gists{/gist_id}","starred_url":"https://api.github.com/users/jbudz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbudz/subscriptions","organizations_url":"https://api.github.com/users/jbudz/orgs","repos_url":"https://api.github.com/users/jbudz/repos","events_url":"https://api.github.com/users/jbudz/events{/privacy}","received_events_url":"https://api.github.com/users/jbudz/received_events","type":"User","site_admin":false},"repo":{"id":38205995,"name":"kibana","full_name":"jbudz/kibana","owner":{"login":"jbudz","id":3143860,"avatar_url":"https://avatars.githubusercontent.com/u/3143860?v=3","gravatar_id":"","url":"https://api.github.com/users/jbudz","html_url":"https://github.com/jbudz","followers_url":"https://api.github.com/users/jbudz/followers","following_url":"https://api.github.com/users/jbudz/following{/other_user}","gists_url":"https://api.github.com/users/jbudz/gists{/gist_id}","starred_url":"https://api.github.com/users/jbudz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbudz/subscriptions","organizations_url":"https://api.github.com/users/jbudz/orgs","repos_url":"https://api.github.com/users/jbudz/repos","events_url":"https://api.github.com/users/jbudz/events{/privacy}","received_events_url":"https://api.github.com/users/jbudz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbudz/kibana","description":"Kibana","fork":true,"url":"https://api.github.com/repos/jbudz/kibana","forks_url":"https://api.github.com/repos/jbudz/kibana/forks","keys_url":"https://api.github.com/repos/jbudz/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbudz/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbudz/kibana/teams","hooks_url":"https://api.github.com/repos/jbudz/kibana/hooks","issue_events_url":"https://api.github.com/repos/jbudz/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/jbudz/kibana/events","assignees_url":"https://api.github.com/repos/jbudz/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/jbudz/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/jbudz/kibana/tags","blobs_url":"https://api.github.com/repos/jbudz/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbudz/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbudz/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbudz/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbudz/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/jbudz/kibana/languages","stargazers_url":"https://api.github.com/repos/jbudz/kibana/stargazers","contributors_url":"https://api.github.com/repos/jbudz/kibana/contributors","subscribers_url":"https://api.github.com/repos/jbudz/kibana/subscribers","subscription_url":"https://api.github.com/repos/jbudz/kibana/subscription","commits_url":"https://api.github.com/repos/jbudz/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbudz/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbudz/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbudz/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbudz/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/jbudz/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbudz/kibana/merges","archive_url":"https://api.github.com/repos/jbudz/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbudz/kibana/downloads","issues_url":"https://api.github.com/repos/jbudz/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/jbudz/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/jbudz/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/jbudz/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbudz/kibana/labels{/name}","releases_url":"https://api.github.com/repos/jbudz/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/jbudz/kibana/deployments","created_at":"2015-06-28T16:35:41Z","updated_at":"2016-01-22T17:34:12Z","pushed_at":"2016-07-15T21:36:12Z","git_url":"git://github.com/jbudz/kibana.git","ssh_url":"git@github.com:jbudz/kibana.git","clone_url":"https://github.com/jbudz/kibana.git","svn_url":"https://github.com/jbudz/kibana","homepage":"https://www.elastic.co/products/kibana","size":182259,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"8b4c40298c87914a8589903040fbd6f2587e95a4","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"name":"kibana","full_name":"elastic/kibana","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2016-07-15T18:20:28Z","pushed_at":"2016-07-15T21:36:38Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":234488,"stargazers_count":5653,"watchers_count":5653,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2080,"mirror_url":null,"open_issues_count":1116,"forks":2080,"open_issues":1116,"watchers":5653,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/7724"},"html":{"href":"https://github.com/elastic/kibana/pull/7724"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/7724"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/7724/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/7724/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/7724/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/ca5a96838b0679df4697847cc085f5bc858092d1"}}}}
{"actor":{"display_login":"Bargs"}}