{"action":"created","issue":{"url":"https://api.github.com/repos/hotosm/osm-tasking-manager2/issues/497","labels_url":"https://api.github.com/repos/hotosm/osm-tasking-manager2/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/hotosm/osm-tasking-manager2/issues/497/comments","events_url":"https://api.github.com/repos/hotosm/osm-tasking-manager2/issues/497/events","html_url":"https://github.com/hotosm/osm-tasking-manager2/issues/497","id":52228659,"number":497,"title":"More map layers","user":{"login":"althio","id":9863567,"avatar_url":"https://avatars.githubusercontent.com/u/9863567?v=3","gravatar_id":"","url":"https://api.github.com/users/althio","html_url":"https://github.com/althio","followers_url":"https://api.github.com/users/althio/followers","following_url":"https://api.github.com/users/althio/following{/other_user}","gists_url":"https://api.github.com/users/althio/gists{/gist_id}","starred_url":"https://api.github.com/users/althio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/althio/subscriptions","organizations_url":"https://api.github.com/users/althio/orgs","repos_url":"https://api.github.com/users/althio/repos","events_url":"https://api.github.com/users/althio/events{/privacy}","received_events_url":"https://api.github.com/users/althio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hotosm/osm-tasking-manager2/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/hotosm/osm-tasking-manager2/labels/UI","name":"UI","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-17T11:20:13Z","updated_at":"2015-06-10T15:06:16Z","closed_at":null,"body":"Make more map layers available\r\n* humanitarian\r\n* standard\r\n* transport\r\n* imagery/imageries\r\n* special styles (stamen...)\r\n* custom URL\r\n* ...\r\n\r\nFeatures:\r\n* Allow admin to choose at project level the available layers and the layer by default.\r\n* Allow users to choose between the available layers.\r\n\r\nUsages:\r\n- customised instances of TM2\r\n- adapted layers for particular projects (mapping for HOT or in western city or for public transportation / cycleways / hiking...)\r\n- view imagery available versus project grid\r\n- fallback if default layer is unavailable (tile server is down)\r\n\r\nExamples on other OSM online maps:\r\n\r\n[openstreetmap.org](http://www.openstreetmap.org/#map=13/10.3885/-9.2859&layers=H) | [iD](http://www.openstreetmap.org/edit?editor=id#map=13/10.3885/-9.2859)\r\n-----|-----\r\n![osm-layers](https://cloud.githubusercontent.com/assets/9863567/5469620/08da26e8-85de-11e4-9fed-ffa2a6cde37f.png) | ![iD-layers](https://cloud.githubusercontent.com/assets/9863567/5469600/bfc46f0e-85dd-11e4-8fad-cbd61321605c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/hotosm/osm-tasking-manager2/issues/comments/110788422","html_url":"https://github.com/hotosm/osm-tasking-manager2/issues/497#issuecomment-110788422","issue_url":"https://api.github.com/repos/hotosm/osm-tasking-manager2/issues/497","id":110788422,"user":{"login":"ethan-nelson","id":8998918,"avatar_url":"https://avatars.githubusercontent.com/u/8998918?v=3","gravatar_id":"","url":"https://api.github.com/users/ethan-nelson","html_url":"https://github.com/ethan-nelson","followers_url":"https://api.github.com/users/ethan-nelson/followers","following_url":"https://api.github.com/users/ethan-nelson/following{/other_user}","gists_url":"https://api.github.com/users/ethan-nelson/gists{/gist_id}","starred_url":"https://api.github.com/users/ethan-nelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethan-nelson/subscriptions","organizations_url":"https://api.github.com/users/ethan-nelson/orgs","repos_url":"https://api.github.com/users/ethan-nelson/repos","events_url":"https://api.github.com/users/ethan-nelson/events{/privacy}","received_events_url":"https://api.github.com/users/ethan-nelson/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T15:06:16Z","updated_at":"2015-06-10T15:06:16Z","body":"The other thing is we have to think about the TM in the context of other instances. We should potentially set up a dictionary or other definition that is administrator-customizable in, say, a `.ini` file to add custom tile layers; then when leaflet loads we look at that for other potential layers. Otherwise everyone will be using the same tileservers that we specify, which could be a no-no in the event we have a HOT-specific tile layer from a provider (though now that I think about it, everyone may be using the osm.fr tile layer right now unless they specifically modify this in their deployment)."}}