{"action":"opened","issue":{"url":"https://api.github.com/repos/mjordan/islandora_simple_map/issues/5","repository_url":"https://api.github.com/repos/mjordan/islandora_simple_map","labels_url":"https://api.github.com/repos/mjordan/islandora_simple_map/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mjordan/islandora_simple_map/issues/5/comments","events_url":"https://api.github.com/repos/mjordan/islandora_simple_map/issues/5/events","html_url":"https://github.com/mjordan/islandora_simple_map/issues/5","id":157303108,"number":5,"title":"Adding support for OpenStreetMap","user":{"login":"mjordan","id":403918,"avatar_url":"https://avatars.githubusercontent.com/u/403918?v=3","gravatar_id":"","url":"https://api.github.com/users/mjordan","html_url":"https://github.com/mjordan","followers_url":"https://api.github.com/users/mjordan/followers","following_url":"https://api.github.com/users/mjordan/following{/other_user}","gists_url":"https://api.github.com/users/mjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/mjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjordan/subscriptions","organizations_url":"https://api.github.com/users/mjordan/orgs","repos_url":"https://api.github.com/users/mjordan/repos","events_url":"https://api.github.com/users/mjordan/events{/privacy}","received_events_url":"https://api.github.com/users/mjordan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mjordan/islandora_simple_map/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-27T22:45:37Z","updated_at":"2016-05-27T22:45:37Z","closed_at":null,"body":"I can't find much by way of a direct API for using OpenStreetMap similar to how this module uses Google Maps, but the HTML that needs to be generated looks like this:\r\n\r\n```html\r\n<iframe width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"http://www.openstreetmap.org/export/embed.html?bbox=-123.38882446289061%2C49.14555903725487%2C-122.93563842773436%2C49.35353208188311&amp;layer=mapnik&amp;marker=49.24965507167121%2C-123.1622314453125\" style=\"border: 1px solid black\"></iframe><br/><small><a href=\"http://www.openstreetmap.org/?mlat=49.2497&amp;mlon=-123.1622#map=12/49.2497/-123.1622\">View Larger Map</a></small>\r\n```\r\n\r\nShouldn't be too difficult to create this from geocoordinate data."}}
{"actor":{"display_login":"mjordan"}}