{"action":"created","issue":{"url":"https://api.github.com/repos/zenphoto/zenphoto/issues/1161","repository_url":"https://api.github.com/repos/zenphoto/zenphoto","labels_url":"https://api.github.com/repos/zenphoto/zenphoto/issues/1161/labels{/name}","comments_url":"https://api.github.com/repos/zenphoto/zenphoto/issues/1161/comments","events_url":"https://api.github.com/repos/zenphoto/zenphoto/issues/1161/events","html_url":"https://github.com/zenphoto/zenphoto/issues/1161","id":327350413,"node_id":"MDU6SXNzdWUzMjczNTA0MTM=","number":1161,"title":"openstreetmap: add control layer option","user":{"login":"vincent3569","id":1224809,"node_id":"MDQ6VXNlcjEyMjQ4MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1224809?v=4","gravatar_id":"","url":"https://api.github.com/users/vincent3569","html_url":"https://github.com/vincent3569","followers_url":"https://api.github.com/users/vincent3569/followers","following_url":"https://api.github.com/users/vincent3569/following{/other_user}","gists_url":"https://api.github.com/users/vincent3569/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent3569/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent3569/subscriptions","organizations_url":"https://api.github.com/users/vincent3569/orgs","repos_url":"https://api.github.com/users/vincent3569/repos","events_url":"https://api.github.com/users/vincent3569/events{/privacy}","received_events_url":"https://api.github.com/users/vincent3569/received_events","type":"User","site_admin":false},"labels":[{"id":16912118,"node_id":"MDU6TGFiZWwxNjkxMjExOA==","url":"https://api.github.com/repos/zenphoto/zenphoto/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":574465141,"node_id":"MDU6TGFiZWw1NzQ0NjUxNDE=","url":"https://api.github.com/repos/zenphoto/zenphoto/labels/under%20consideration","name":"under consideration","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-05-29T14:38:26Z","updated_at":"2018-08-02T09:08:53Z","closed_at":null,"author_association":"COLLABORATOR","body":"hi\r\n\r\nIt would be a nice improvement if you could implement control layer option.\r\nsee documentation of leafletjs here:\r\nhttps://leafletjs.com/reference-1.3.0.html#control-layers\r\nhttps://leafletjs.com/examples/layers-control/\r\n\r\nto be more clear, I wish to have a selector on the map (on the front end) to allow visitors to choose on what tiles they want to see markers.\r\nAs I don't want to enable all tiles used by the plugin, maybe a checkbox to select what tiles to use in front end is a good idea,\r\nI have a look on core code, and admin/options/general/languages seems to be the right way to have both the selected tiles to display and the tile to use by default.\r\n\r\nyou can see the html result I wish to have here: http://plnkr.co/edit/d4ycVbdVRGoxE9h8svQe\r\nnote there is an issue because the loaded map is not selected by default on the control and I requested for help on stackoverflow: https://stackoverflow.com/questions/50586842/how-to-use-layers-control-with-leaflet-and-leaflet-provider"},"comment":{"url":"https://api.github.com/repos/zenphoto/zenphoto/issues/comments/409859748","html_url":"https://github.com/zenphoto/zenphoto/issues/1161#issuecomment-409859748","issue_url":"https://api.github.com/repos/zenphoto/zenphoto/issues/1161","id":409859748,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTg1OTc0OA==","user":{"login":"acrylian","id":2474309,"node_id":"MDQ6VXNlcjI0NzQzMDk=","avatar_url":"https://avatars3.githubusercontent.com/u/2474309?v=4","gravatar_id":"","url":"https://api.github.com/users/acrylian","html_url":"https://github.com/acrylian","followers_url":"https://api.github.com/users/acrylian/followers","following_url":"https://api.github.com/users/acrylian/following{/other_user}","gists_url":"https://api.github.com/users/acrylian/gists{/gist_id}","starred_url":"https://api.github.com/users/acrylian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrylian/subscriptions","organizations_url":"https://api.github.com/users/acrylian/orgs","repos_url":"https://api.github.com/users/acrylian/repos","events_url":"https://api.github.com/users/acrylian/events{/privacy}","received_events_url":"https://api.github.com/users/acrylian/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T09:08:53Z","updated_at":"2018-08-02T09:08:53Z","author_association":"MEMBER","body":"Will take a look at it all as soon as I get to it! \r\n\r\nHave a nice vacation! If all works out (cache issues primarily) we might have 1.5.1 out meanwhile ;-)"}}
{"actor":{"display_login":"acrylian"}}