{"action":"opened","issue":{"url":"https://api.github.com/repos/idno/Known/issues/1299","repository_url":"https://api.github.com/repos/idno/Known","labels_url":"https://api.github.com/repos/idno/Known/issues/1299/labels{/name}","comments_url":"https://api.github.com/repos/idno/Known/issues/1299/comments","events_url":"https://api.github.com/repos/idno/Known/issues/1299/events","html_url":"https://github.com/idno/Known/issues/1299","id":136070682,"number":1299,"title":"Checkin leaflet map : global variable map/marker","user":{"login":"danito","id":54977,"avatar_url":"https://avatars.githubusercontent.com/u/54977?v=3","gravatar_id":"","url":"https://api.github.com/users/danito","html_url":"https://github.com/danito","followers_url":"https://api.github.com/users/danito/followers","following_url":"https://api.github.com/users/danito/following{/other_user}","gists_url":"https://api.github.com/users/danito/gists{/gist_id}","starred_url":"https://api.github.com/users/danito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danito/subscriptions","organizations_url":"https://api.github.com/users/danito/orgs","repos_url":"https://api.github.com/users/danito/repos","events_url":"https://api.github.com/users/danito/events{/privacy}","received_events_url":"https://api.github.com/users/danito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-24T14:05:40Z","updated_at":"2016-02-24T14:05:40Z","closed_at":null,"body":"## While trying to do this:\r\nediting the Foursquare plugin to address #1290 \r\n## I encountered this error:\r\nthe leaflet map is not accessible for plugins to modify as the map is defined in a private function\r\n## Some other notes:\r\nIf nothing speaks against it, make the map and the marker variable global in [IdnoPlugins/Checkin/checkin.js](https://github.com/idno/Known/blob/master/IdnoPlugins/Checkin/checkin.js)\r\n"}}