{"action":"created","comment":{"url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/comments/303780323","pull_request_review_id":262241439,"id":303780323,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwMzc4MDMyMw==","diff_hunk":"@@ -0,0 +1,36 @@\n+import React from 'react';\n+import { Marker, Popup } from 'react-leaflet';\n+import L from 'leaflet';\n+import PropTypes from 'prop-types';\n+import categories from '../../static/categories';\n+import './style.scss';\n+\n+export const LMarker = (props) => {\n+  const device = props.device;\n+  const deviceIcon = new L.Icon({\n+    ...(categories[device.application] || categories.Sensor)\n+  });\n+  const devicePosition = [device.latitude, device.longitude];\n+  // TODO: requires translation\n+  return (\n+    <Marker position={devicePosition} icon={deviceIcon} key={device.id}>\n+      <Popup>\n+        <div className=\"device-popup\">\n+          <h3>Apparaat</h3>","path":"src/components/LeafletMarker/index.js","position":19,"original_position":19,"commit_id":"dd41362d79852c1e4604de23a5dae22618ed14a0","original_commit_id":"dd41362d79852c1e4604de23a5dae22618ed14a0","user":{"login":"janjaap","id":1062191,"node_id":"MDQ6VXNlcjEwNjIxOTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1062191?v=4","gravatar_id":"","url":"https://api.github.com/users/janjaap","html_url":"https://github.com/janjaap","followers_url":"https://api.github.com/users/janjaap/followers","following_url":"https://api.github.com/users/janjaap/following{/other_user}","gists_url":"https://api.github.com/users/janjaap/gists{/gist_id}","starred_url":"https://api.github.com/users/janjaap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janjaap/subscriptions","organizations_url":"https://api.github.com/users/janjaap/orgs","repos_url":"https://api.github.com/users/janjaap/repos","events_url":"https://api.github.com/users/janjaap/events{/privacy}","received_events_url":"https://api.github.com/users/janjaap/received_events","type":"User","site_admin":false},"body":"Move this string to the translation file","created_at":"2019-07-16T08:18:05Z","updated_at":"2019-07-16T08:22:58Z","html_url":"https://github.com/score-partners/Internet-of-Things-Registry/pull/9#discussion_r303780323","pull_request_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/9","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/comments/303780323"},"html":{"href":"https://github.com/score-partners/Internet-of-Things-Registry/pull/9#discussion_r303780323"},"pull_request":{"href":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/9","id":297910018,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk3OTEwMDE4","html_url":"https://github.com/score-partners/Internet-of-Things-Registry/pull/9","diff_url":"https://github.com/score-partners/Internet-of-Things-Registry/pull/9.diff","patch_url":"https://github.com/score-partners/Internet-of-Things-Registry/pull/9.patch","issue_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues/9","number":9,"state":"open","locked":false,"title":"Feature/amaps replacement","user":{"login":"Jefwillems","id":10141933,"node_id":"MDQ6VXNlcjEwMTQxOTMz","avatar_url":"https://avatars2.githubusercontent.com/u/10141933?v=4","gravatar_id":"","url":"https://api.github.com/users/Jefwillems","html_url":"https://github.com/Jefwillems","followers_url":"https://api.github.com/users/Jefwillems/followers","following_url":"https://api.github.com/users/Jefwillems/following{/other_user}","gists_url":"https://api.github.com/users/Jefwillems/gists{/gist_id}","starred_url":"https://api.github.com/users/Jefwillems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jefwillems/subscriptions","organizations_url":"https://api.github.com/users/Jefwillems/orgs","repos_url":"https://api.github.com/users/Jefwillems/repos","events_url":"https://api.github.com/users/Jefwillems/events{/privacy}","received_events_url":"https://api.github.com/users/Jefwillems/received_events","type":"User","site_admin":false},"body":"This pull requests replaces the amaps implementation of IOT-registry with a Leaflet implementation. This allows for other cities than Amsterdam to use this project in their own municipality. ","created_at":"2019-07-16T07:28:02Z","updated_at":"2019-07-16T08:22:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f9523fc73381de9580292fdaf302dd5f40e0410","assignee":null,"assignees":[],"requested_reviewers":[{"login":"turegjorup","id":5631988,"node_id":"MDQ6VXNlcjU2MzE5ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/5631988?v=4","gravatar_id":"","url":"https://api.github.com/users/turegjorup","html_url":"https://github.com/turegjorup","followers_url":"https://api.github.com/users/turegjorup/followers","following_url":"https://api.github.com/users/turegjorup/following{/other_user}","gists_url":"https://api.github.com/users/turegjorup/gists{/gist_id}","starred_url":"https://api.github.com/users/turegjorup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turegjorup/subscriptions","organizations_url":"https://api.github.com/users/turegjorup/orgs","repos_url":"https://api.github.com/users/turegjorup/repos","events_url":"https://api.github.com/users/turegjorup/events{/privacy}","received_events_url":"https://api.github.com/users/turegjorup/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1441376880,"node_id":"MDU6TGFiZWwxNDQxMzc2ODgw","url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/9/commits","review_comments_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/9/comments","review_comment_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues/9/comments","statuses_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/statuses/dd41362d79852c1e4604de23a5dae22618ed14a0","head":{"label":"score-partners:feature/amaps-replacement","ref":"feature/amaps-replacement","sha":"dd41362d79852c1e4604de23a5dae22618ed14a0","user":{"login":"score-partners","id":34011155,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDExMTU1","avatar_url":"https://avatars0.githubusercontent.com/u/34011155?v=4","gravatar_id":"","url":"https://api.github.com/users/score-partners","html_url":"https://github.com/score-partners","followers_url":"https://api.github.com/users/score-partners/followers","following_url":"https://api.github.com/users/score-partners/following{/other_user}","gists_url":"https://api.github.com/users/score-partners/gists{/gist_id}","starred_url":"https://api.github.com/users/score-partners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/score-partners/subscriptions","organizations_url":"https://api.github.com/users/score-partners/orgs","repos_url":"https://api.github.com/users/score-partners/repos","events_url":"https://api.github.com/users/score-partners/events{/privacy}","received_events_url":"https://api.github.com/users/score-partners/received_events","type":"Organization","site_admin":false},"repo":{"id":195819639,"node_id":"MDEwOlJlcG9zaXRvcnkxOTU4MTk2Mzk=","name":"Internet-of-Things-Registry","full_name":"score-partners/Internet-of-Things-Registry","private":false,"owner":{"login":"score-partners","id":34011155,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDExMTU1","avatar_url":"https://avatars0.githubusercontent.com/u/34011155?v=4","gravatar_id":"","url":"https://api.github.com/users/score-partners","html_url":"https://github.com/score-partners","followers_url":"https://api.github.com/users/score-partners/followers","following_url":"https://api.github.com/users/score-partners/following{/other_user}","gists_url":"https://api.github.com/users/score-partners/gists{/gist_id}","starred_url":"https://api.github.com/users/score-partners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/score-partners/subscriptions","organizations_url":"https://api.github.com/users/score-partners/orgs","repos_url":"https://api.github.com/users/score-partners/repos","events_url":"https://api.github.com/users/score-partners/events{/privacy}","received_events_url":"https://api.github.com/users/score-partners/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/score-partners/Internet-of-Things-Registry","description":"Internet of Things Registry","fork":true,"url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry","forks_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/forks","keys_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/teams","hooks_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/hooks","issue_events_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues/events{/number}","events_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/events","assignees_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/assignees{/user}","branches_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/branches{/branch}","tags_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/tags","blobs_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/refs{/sha}","trees_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/statuses/{sha}","languages_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/languages","stargazers_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/stargazers","contributors_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/contributors","subscribers_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/subscribers","subscription_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/subscription","commits_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/commits{/sha}","git_commits_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/commits{/sha}","comments_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/comments{/number}","issue_comment_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues/comments{/number}","contents_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/contents/{+path}","compare_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/merges","archive_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/downloads","issues_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues{/number}","pulls_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls{/number}","milestones_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/milestones{/number}","notifications_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/labels{/name}","releases_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/releases{/id}","deployments_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/deployments","created_at":"2019-07-08T13:40:01Z","updated_at":"2019-07-10T13:47:25Z","pushed_at":"2019-07-16T07:28:02Z","git_url":"git://github.com/score-partners/Internet-of-Things-Registry.git","ssh_url":"git@github.com:score-partners/Internet-of-Things-Registry.git","clone_url":"https://github.com/score-partners/Internet-of-Things-Registry.git","svn_url":"https://github.com/score-partners/Internet-of-Things-Registry","homepage":"","size":1475,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"score-partners:master","ref":"master","sha":"f3e29c1a49dc59762ea7d57991af3bee145daefd","user":{"login":"score-partners","id":34011155,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDExMTU1","avatar_url":"https://avatars0.githubusercontent.com/u/34011155?v=4","gravatar_id":"","url":"https://api.github.com/users/score-partners","html_url":"https://github.com/score-partners","followers_url":"https://api.github.com/users/score-partners/followers","following_url":"https://api.github.com/users/score-partners/following{/other_user}","gists_url":"https://api.github.com/users/score-partners/gists{/gist_id}","starred_url":"https://api.github.com/users/score-partners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/score-partners/subscriptions","organizations_url":"https://api.github.com/users/score-partners/orgs","repos_url":"https://api.github.com/users/score-partners/repos","events_url":"https://api.github.com/users/score-partners/events{/privacy}","received_events_url":"https://api.github.com/users/score-partners/received_events","type":"Organization","site_admin":false},"repo":{"id":195819639,"node_id":"MDEwOlJlcG9zaXRvcnkxOTU4MTk2Mzk=","name":"Internet-of-Things-Registry","full_name":"score-partners/Internet-of-Things-Registry","private":false,"owner":{"login":"score-partners","id":34011155,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDExMTU1","avatar_url":"https://avatars0.githubusercontent.com/u/34011155?v=4","gravatar_id":"","url":"https://api.github.com/users/score-partners","html_url":"https://github.com/score-partners","followers_url":"https://api.github.com/users/score-partners/followers","following_url":"https://api.github.com/users/score-partners/following{/other_user}","gists_url":"https://api.github.com/users/score-partners/gists{/gist_id}","starred_url":"https://api.github.com/users/score-partners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/score-partners/subscriptions","organizations_url":"https://api.github.com/users/score-partners/orgs","repos_url":"https://api.github.com/users/score-partners/repos","events_url":"https://api.github.com/users/score-partners/events{/privacy}","received_events_url":"https://api.github.com/users/score-partners/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/score-partners/Internet-of-Things-Registry","description":"Internet of Things Registry","fork":true,"url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry","forks_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/forks","keys_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/teams","hooks_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/hooks","issue_events_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues/events{/number}","events_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/events","assignees_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/assignees{/user}","branches_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/branches{/branch}","tags_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/tags","blobs_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/refs{/sha}","trees_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/statuses/{sha}","languages_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/languages","stargazers_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/stargazers","contributors_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/contributors","subscribers_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/subscribers","subscription_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/subscription","commits_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/commits{/sha}","git_commits_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/git/commits{/sha}","comments_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/comments{/number}","issue_comment_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues/comments{/number}","contents_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/contents/{+path}","compare_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/merges","archive_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/downloads","issues_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues{/number}","pulls_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls{/number}","milestones_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/milestones{/number}","notifications_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/labels{/name}","releases_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/releases{/id}","deployments_url":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/deployments","created_at":"2019-07-08T13:40:01Z","updated_at":"2019-07-10T13:47:25Z","pushed_at":"2019-07-16T07:28:02Z","git_url":"git://github.com/score-partners/Internet-of-Things-Registry.git","ssh_url":"git@github.com:score-partners/Internet-of-Things-Registry.git","clone_url":"https://github.com/score-partners/Internet-of-Things-Registry.git","svn_url":"https://github.com/score-partners/Internet-of-Things-Registry","homepage":"","size":1475,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/9"},"html":{"href":"https://github.com/score-partners/Internet-of-Things-Registry/pull/9"},"issue":{"href":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues/9"},"comments":{"href":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/score-partners/Internet-of-Things-Registry/statuses/dd41362d79852c1e4604de23a5dae22618ed14a0"}},"author_association":"NONE"}}
{"actor":{"display_login":"janjaap"}}