{"action":"created","issue":{"url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/37","labels_url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/37/comments","events_url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/37/events","html_url":"https://github.com/cyclestreets/cyclescape/issues/37","id":6173756,"number":37,"title":"Google Street View integration","user":{"login":"mvl22","id":361423,"avatar_url":"https://avatars.githubusercontent.com/u/361423?v=3","gravatar_id":"","url":"https://api.github.com/users/mvl22","html_url":"https://github.com/mvl22","followers_url":"https://api.github.com/users/mvl22/followers","following_url":"https://api.github.com/users/mvl22/following{/other_user}","gists_url":"https://api.github.com/users/mvl22/gists{/gist_id}","starred_url":"https://api.github.com/users/mvl22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvl22/subscriptions","organizations_url":"https://api.github.com/users/mvl22/orgs","repos_url":"https://api.github.com/users/mvl22/repos","events_url":"https://api.github.com/users/mvl22/events{/privacy}","received_events_url":"https://api.github.com/users/mvl22/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2012-08-11T23:51:58Z","updated_at":"2015-05-04T07:51:20Z","closed_at":"2015-05-03T19:47:18Z","body":"Google Street View is need in three places:\n\n * Setting of a location as a message reply type. Campaigners will undoubtedly use this heavily. It should result in an iframe directly, not a link elsewhere.\n * A button under the issue map which opens a div underneath showing 'Street View here'.\n * Ditto, under the map on the thread page\n\nThis enables people to get more context easily about the issue, as well as helping newer campaigners to familiarise themselves with the location.\n\nThe location should obviously default to the issue's location.\n\nKey problem is how to handle large area-based issues. As a first iteration:\n\n1. For large areas, state that 'The area is too large' to create a Street View location.\n2. For smallish areas, take the centre-point.\n3. For lines, take the centre-point of the line\n4. For point-locations, obviously just take that location.\n\nSetting of a location in the message-reply type will need a map view and the streetview panel next to it, with the location matched in real-time as the location is dragged, enabling people to get an accurate location first time."},"comment":{"url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/comments/98616339","html_url":"https://github.com/cyclestreets/cyclescape/issues/37#issuecomment-98616339","issue_url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/37","id":98616339,"user":{"login":"mvl22","id":361423,"avatar_url":"https://avatars.githubusercontent.com/u/361423?v=3","gravatar_id":"","url":"https://api.github.com/users/mvl22","html_url":"https://github.com/mvl22","followers_url":"https://api.github.com/users/mvl22/followers","following_url":"https://api.github.com/users/mvl22/following{/other_user}","gists_url":"https://api.github.com/users/mvl22/gists{/gist_id}","starred_url":"https://api.github.com/users/mvl22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvl22/subscriptions","organizations_url":"https://api.github.com/users/mvl22/orgs","repos_url":"https://api.github.com/users/mvl22/repos","events_url":"https://api.github.com/users/mvl22/events{/privacy}","received_events_url":"https://api.github.com/users/mvl22/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T07:51:20Z","updated_at":"2015-05-04T07:51:20Z","body":"Ah, actually, it's simpler than that as (I'm pretty sure) you can't have administrative threads that aren't attached to a group. So just take the group's location's centrepoint for administrative threads."}}