{"action":"created","comment":{"url":"https://api.github.com/repos/terranodo/MapLoom/pulls/comments/61846637","id":61846637,"diff_hunk":"@@ -120,6 +120,53 @@\n     };\n   })();\n \n+  function bboxTransfom(coordinates, oldProjection, projection) {\n+    if (!coordinates) {\n+      return [[]];\n+    }\n+    return [[\n+      ol.proj.transform([coordinates[0], coordinates[1]], oldProjection, projection),\n+      ol.proj.transform([coordinates[0], coordinates[3]], oldProjection, projection),\n+      ol.proj.transform([coordinates[2], coordinates[3]], oldProjection, projection),\n+      ol.proj.transform([coordinates[2], coordinates[1]], oldProjection, projection)\n+    ]];\n+  }\n+\n+  function createBboxVector(coordinates, projection) {","path":"src/common/map/MapService.js","position":16,"original_position":16,"commit_id":"8fb5b6fbf6b2001985452e8f5b8fb60de03e3a5f","original_commit_id":"8fb5b6fbf6b2001985452e8f5b8fb60de03e3a5f","user":{"login":"milafrerichs","id":688980,"avatar_url":"https://avatars.githubusercontent.com/u/688980?v=3","gravatar_id":"","url":"https://api.github.com/users/milafrerichs","html_url":"https://github.com/milafrerichs","followers_url":"https://api.github.com/users/milafrerichs/followers","following_url":"https://api.github.com/users/milafrerichs/following{/other_user}","gists_url":"https://api.github.com/users/milafrerichs/gists{/gist_id}","starred_url":"https://api.github.com/users/milafrerichs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milafrerichs/subscriptions","organizations_url":"https://api.github.com/users/milafrerichs/orgs","repos_url":"https://api.github.com/users/milafrerichs/repos","events_url":"https://api.github.com/users/milafrerichs/events{/privacy}","received_events_url":"https://api.github.com/users/milafrerichs/received_events","type":"User","site_admin":false},"body":"rename to:\r\n`createGeoJSONLayerFromCoordinatesWithProjection`","created_at":"2016-05-03T07:34:31Z","updated_at":"2016-05-03T07:34:31Z","html_url":"https://github.com/terranodo/MapLoom/pull/12#discussion_r61846637","pull_request_url":"https://api.github.com/repos/terranodo/MapLoom/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/terranodo/MapLoom/pulls/comments/61846637"},"html":{"href":"https://github.com/terranodo/MapLoom/pull/12#discussion_r61846637"},"pull_request":{"href":"https://api.github.com/repos/terranodo/MapLoom/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/terranodo/MapLoom/pulls/12","id":68635116,"html_url":"https://github.com/terranodo/MapLoom/pull/12","diff_url":"https://github.com/terranodo/MapLoom/pull/12.diff","patch_url":"https://github.com/terranodo/MapLoom/pull/12.patch","issue_url":"https://api.github.com/repos/terranodo/MapLoom/issues/12","number":12,"state":"open","locked":false,"title":"17 layer extent box","user":{"login":"lasdjs","id":7197750,"avatar_url":"https://avatars.githubusercontent.com/u/7197750?v=3","gravatar_id":"","url":"https://api.github.com/users/lasdjs","html_url":"https://github.com/lasdjs","followers_url":"https://api.github.com/users/lasdjs/followers","following_url":"https://api.github.com/users/lasdjs/following{/other_user}","gists_url":"https://api.github.com/users/lasdjs/gists{/gist_id}","starred_url":"https://api.github.com/users/lasdjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lasdjs/subscriptions","organizations_url":"https://api.github.com/users/lasdjs/orgs","repos_url":"https://api.github.com/users/lasdjs/repos","events_url":"https://api.github.com/users/lasdjs/events{/privacy}","received_events_url":"https://api.github.com/users/lasdjs/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\n\r\nImproves PR #9 .\r\n\r\n![image](https://cloud.githubusercontent.com/assets/7197750/14970808/ae7757f8-1091-11e6-8137-dd179ff34c4e.png)\r\n\r\n### Related Issue\r\n[#17](https://github.com/boundlessgeo/exchange-search/issues/17)","created_at":"2016-05-02T22:56:52Z","updated_at":"2016-05-03T07:34:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"816a8259b6cec883409c8836cf997ca66e0b7680","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/terranodo/MapLoom/pulls/12/commits","review_comments_url":"https://api.github.com/repos/terranodo/MapLoom/pulls/12/comments","review_comment_url":"https://api.github.com/repos/terranodo/MapLoom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/terranodo/MapLoom/issues/12/comments","statuses_url":"https://api.github.com/repos/terranodo/MapLoom/statuses/8fb5b6fbf6b2001985452e8f5b8fb60de03e3a5f","head":{"label":"terranodo:17-layer-extent-box","ref":"17-layer-extent-box","sha":"8fb5b6fbf6b2001985452e8f5b8fb60de03e3a5f","user":{"login":"terranodo","id":12091882,"avatar_url":"https://avatars.githubusercontent.com/u/12091882?v=3","gravatar_id":"","url":"https://api.github.com/users/terranodo","html_url":"https://github.com/terranodo","followers_url":"https://api.github.com/users/terranodo/followers","following_url":"https://api.github.com/users/terranodo/following{/other_user}","gists_url":"https://api.github.com/users/terranodo/gists{/gist_id}","starred_url":"https://api.github.com/users/terranodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terranodo/subscriptions","organizations_url":"https://api.github.com/users/terranodo/orgs","repos_url":"https://api.github.com/users/terranodo/repos","events_url":"https://api.github.com/users/terranodo/events{/privacy}","received_events_url":"https://api.github.com/users/terranodo/received_events","type":"Organization","site_admin":false},"repo":{"id":51850931,"name":"MapLoom","full_name":"terranodo/MapLoom","owner":{"login":"terranodo","id":12091882,"avatar_url":"https://avatars.githubusercontent.com/u/12091882?v=3","gravatar_id":"","url":"https://api.github.com/users/terranodo","html_url":"https://github.com/terranodo","followers_url":"https://api.github.com/users/terranodo/followers","following_url":"https://api.github.com/users/terranodo/following{/other_user}","gists_url":"https://api.github.com/users/terranodo/gists{/gist_id}","starred_url":"https://api.github.com/users/terranodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terranodo/subscriptions","organizations_url":"https://api.github.com/users/terranodo/orgs","repos_url":"https://api.github.com/users/terranodo/repos","events_url":"https://api.github.com/users/terranodo/events{/privacy}","received_events_url":"https://api.github.com/users/terranodo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/terranodo/MapLoom","description":"MapLoom is a web mapping client based on OpenLayers 3. It provides full-featured editing capabilities for data stores in GeoServer - including PostGIS and GeoGig. For GeoGig layers, it lets you view history, and sync with other GeoGig repositories","fork":true,"url":"https://api.github.com/repos/terranodo/MapLoom","forks_url":"https://api.github.com/repos/terranodo/MapLoom/forks","keys_url":"https://api.github.com/repos/terranodo/MapLoom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terranodo/MapLoom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terranodo/MapLoom/teams","hooks_url":"https://api.github.com/repos/terranodo/MapLoom/hooks","issue_events_url":"https://api.github.com/repos/terranodo/MapLoom/issues/events{/number}","events_url":"https://api.github.com/repos/terranodo/MapLoom/events","assignees_url":"https://api.github.com/repos/terranodo/MapLoom/assignees{/user}","branches_url":"https://api.github.com/repos/terranodo/MapLoom/branches{/branch}","tags_url":"https://api.github.com/repos/terranodo/MapLoom/tags","blobs_url":"https://api.github.com/repos/terranodo/MapLoom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terranodo/MapLoom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terranodo/MapLoom/git/refs{/sha}","trees_url":"https://api.github.com/repos/terranodo/MapLoom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terranodo/MapLoom/statuses/{sha}","languages_url":"https://api.github.com/repos/terranodo/MapLoom/languages","stargazers_url":"https://api.github.com/repos/terranodo/MapLoom/stargazers","contributors_url":"https://api.github.com/repos/terranodo/MapLoom/contributors","subscribers_url":"https://api.github.com/repos/terranodo/MapLoom/subscribers","subscription_url":"https://api.github.com/repos/terranodo/MapLoom/subscription","commits_url":"https://api.github.com/repos/terranodo/MapLoom/commits{/sha}","git_commits_url":"https://api.github.com/repos/terranodo/MapLoom/git/commits{/sha}","comments_url":"https://api.github.com/repos/terranodo/MapLoom/comments{/number}","issue_comment_url":"https://api.github.com/repos/terranodo/MapLoom/issues/comments{/number}","contents_url":"https://api.github.com/repos/terranodo/MapLoom/contents/{+path}","compare_url":"https://api.github.com/repos/terranodo/MapLoom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terranodo/MapLoom/merges","archive_url":"https://api.github.com/repos/terranodo/MapLoom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terranodo/MapLoom/downloads","issues_url":"https://api.github.com/repos/terranodo/MapLoom/issues{/number}","pulls_url":"https://api.github.com/repos/terranodo/MapLoom/pulls{/number}","milestones_url":"https://api.github.com/repos/terranodo/MapLoom/milestones{/number}","notifications_url":"https://api.github.com/repos/terranodo/MapLoom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terranodo/MapLoom/labels{/name}","releases_url":"https://api.github.com/repos/terranodo/MapLoom/releases{/id}","deployments_url":"https://api.github.com/repos/terranodo/MapLoom/deployments","created_at":"2016-02-16T16:32:16Z","updated_at":"2016-03-29T16:21:32Z","pushed_at":"2016-05-03T05:19:58Z","git_url":"git://github.com/terranodo/MapLoom.git","ssh_url":"git@github.com:terranodo/MapLoom.git","clone_url":"https://github.com/terranodo/MapLoom.git","svn_url":"https://github.com/terranodo/MapLoom","homepage":"","size":7868,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"hypermap"}},"base":{"label":"terranodo:hypermap","ref":"hypermap","sha":"d77dc4c3536db4e604b36f7c2ad9b280138b55e6","user":{"login":"terranodo","id":12091882,"avatar_url":"https://avatars.githubusercontent.com/u/12091882?v=3","gravatar_id":"","url":"https://api.github.com/users/terranodo","html_url":"https://github.com/terranodo","followers_url":"https://api.github.com/users/terranodo/followers","following_url":"https://api.github.com/users/terranodo/following{/other_user}","gists_url":"https://api.github.com/users/terranodo/gists{/gist_id}","starred_url":"https://api.github.com/users/terranodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terranodo/subscriptions","organizations_url":"https://api.github.com/users/terranodo/orgs","repos_url":"https://api.github.com/users/terranodo/repos","events_url":"https://api.github.com/users/terranodo/events{/privacy}","received_events_url":"https://api.github.com/users/terranodo/received_events","type":"Organization","site_admin":false},"repo":{"id":51850931,"name":"MapLoom","full_name":"terranodo/MapLoom","owner":{"login":"terranodo","id":12091882,"avatar_url":"https://avatars.githubusercontent.com/u/12091882?v=3","gravatar_id":"","url":"https://api.github.com/users/terranodo","html_url":"https://github.com/terranodo","followers_url":"https://api.github.com/users/terranodo/followers","following_url":"https://api.github.com/users/terranodo/following{/other_user}","gists_url":"https://api.github.com/users/terranodo/gists{/gist_id}","starred_url":"https://api.github.com/users/terranodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terranodo/subscriptions","organizations_url":"https://api.github.com/users/terranodo/orgs","repos_url":"https://api.github.com/users/terranodo/repos","events_url":"https://api.github.com/users/terranodo/events{/privacy}","received_events_url":"https://api.github.com/users/terranodo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/terranodo/MapLoom","description":"MapLoom is a web mapping client based on OpenLayers 3. It provides full-featured editing capabilities for data stores in GeoServer - including PostGIS and GeoGig. For GeoGig layers, it lets you view history, and sync with other GeoGig repositories","fork":true,"url":"https://api.github.com/repos/terranodo/MapLoom","forks_url":"https://api.github.com/repos/terranodo/MapLoom/forks","keys_url":"https://api.github.com/repos/terranodo/MapLoom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terranodo/MapLoom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terranodo/MapLoom/teams","hooks_url":"https://api.github.com/repos/terranodo/MapLoom/hooks","issue_events_url":"https://api.github.com/repos/terranodo/MapLoom/issues/events{/number}","events_url":"https://api.github.com/repos/terranodo/MapLoom/events","assignees_url":"https://api.github.com/repos/terranodo/MapLoom/assignees{/user}","branches_url":"https://api.github.com/repos/terranodo/MapLoom/branches{/branch}","tags_url":"https://api.github.com/repos/terranodo/MapLoom/tags","blobs_url":"https://api.github.com/repos/terranodo/MapLoom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terranodo/MapLoom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terranodo/MapLoom/git/refs{/sha}","trees_url":"https://api.github.com/repos/terranodo/MapLoom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terranodo/MapLoom/statuses/{sha}","languages_url":"https://api.github.com/repos/terranodo/MapLoom/languages","stargazers_url":"https://api.github.com/repos/terranodo/MapLoom/stargazers","contributors_url":"https://api.github.com/repos/terranodo/MapLoom/contributors","subscribers_url":"https://api.github.com/repos/terranodo/MapLoom/subscribers","subscription_url":"https://api.github.com/repos/terranodo/MapLoom/subscription","commits_url":"https://api.github.com/repos/terranodo/MapLoom/commits{/sha}","git_commits_url":"https://api.github.com/repos/terranodo/MapLoom/git/commits{/sha}","comments_url":"https://api.github.com/repos/terranodo/MapLoom/comments{/number}","issue_comment_url":"https://api.github.com/repos/terranodo/MapLoom/issues/comments{/number}","contents_url":"https://api.github.com/repos/terranodo/MapLoom/contents/{+path}","compare_url":"https://api.github.com/repos/terranodo/MapLoom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terranodo/MapLoom/merges","archive_url":"https://api.github.com/repos/terranodo/MapLoom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terranodo/MapLoom/downloads","issues_url":"https://api.github.com/repos/terranodo/MapLoom/issues{/number}","pulls_url":"https://api.github.com/repos/terranodo/MapLoom/pulls{/number}","milestones_url":"https://api.github.com/repos/terranodo/MapLoom/milestones{/number}","notifications_url":"https://api.github.com/repos/terranodo/MapLoom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terranodo/MapLoom/labels{/name}","releases_url":"https://api.github.com/repos/terranodo/MapLoom/releases{/id}","deployments_url":"https://api.github.com/repos/terranodo/MapLoom/deployments","created_at":"2016-02-16T16:32:16Z","updated_at":"2016-03-29T16:21:32Z","pushed_at":"2016-05-03T05:19:58Z","git_url":"git://github.com/terranodo/MapLoom.git","ssh_url":"git@github.com:terranodo/MapLoom.git","clone_url":"https://github.com/terranodo/MapLoom.git","svn_url":"https://github.com/terranodo/MapLoom","homepage":"","size":7868,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"hypermap"}},"_links":{"self":{"href":"https://api.github.com/repos/terranodo/MapLoom/pulls/12"},"html":{"href":"https://github.com/terranodo/MapLoom/pull/12"},"issue":{"href":"https://api.github.com/repos/terranodo/MapLoom/issues/12"},"comments":{"href":"https://api.github.com/repos/terranodo/MapLoom/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/terranodo/MapLoom/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/terranodo/MapLoom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/terranodo/MapLoom/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/terranodo/MapLoom/statuses/8fb5b6fbf6b2001985452e8f5b8fb60de03e3a5f"}}}}