{"action":"created","issue":{"url":"https://api.github.com/repos/geometalab/osm2vectortiles/issues/12","labels_url":"https://api.github.com/repos/geometalab/osm2vectortiles/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/geometalab/osm2vectortiles/issues/12/comments","events_url":"https://api.github.com/repos/geometalab/osm2vectortiles/issues/12/events","html_url":"https://github.com/geometalab/osm2vectortiles/issues/12","id":105199585,"number":12,"title":"Debug Viewer ","user":{"login":"lukasmartinelli","id":1288339,"avatar_url":"https://avatars.githubusercontent.com/u/1288339?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasmartinelli","html_url":"https://github.com/lukasmartinelli","followers_url":"https://api.github.com/users/lukasmartinelli/followers","following_url":"https://api.github.com/users/lukasmartinelli/following{/other_user}","gists_url":"https://api.github.com/users/lukasmartinelli/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasmartinelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasmartinelli/subscriptions","organizations_url":"https://api.github.com/users/lukasmartinelli/orgs","repos_url":"https://api.github.com/users/lukasmartinelli/repos","events_url":"https://api.github.com/users/lukasmartinelli/events{/privacy}","received_events_url":"https://api.github.com/users/lukasmartinelli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/geometalab/osm2vectortiles/milestones/4","html_url":"https://github.com/geometalab/osm2vectortiles/milestones/BETA","labels_url":"https://api.github.com/repos/geometalab/osm2vectortiles/milestones/4/labels","id":1293507,"number":4,"title":"BETA","description":"","creator":{"login":"klokan","id":59284,"avatar_url":"https://avatars.githubusercontent.com/u/59284?v=3","gravatar_id":"","url":"https://api.github.com/users/klokan","html_url":"https://github.com/klokan","followers_url":"https://api.github.com/users/klokan/followers","following_url":"https://api.github.com/users/klokan/following{/other_user}","gists_url":"https://api.github.com/users/klokan/gists{/gist_id}","starred_url":"https://api.github.com/users/klokan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klokan/subscriptions","organizations_url":"https://api.github.com/users/klokan/orgs","repos_url":"https://api.github.com/users/klokan/repos","events_url":"https://api.github.com/users/klokan/events{/privacy}","received_events_url":"https://api.github.com/users/klokan/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":14,"state":"open","created_at":"2015-09-07T10:57:44Z","updated_at":"2015-11-03T18:34:41Z","due_on":"2015-11-08T23:00:00Z","closed_at":null},"comments":8,"created_at":"2015-09-07T11:33:47Z","updated_at":"2015-11-04T10:52:13Z","closed_at":null,"body":"Create a debug viewer with MapBoxGL JS.\r\n\r\nIt downloads tile json of particular tileset.\r\nPrints the list of layers, on each layer you apply a color of a palette.\r\nList of colors are applied on different layers as different colors.\r\nSimulate with Mapbox GL JS what you in Debug Mode inside the new Mapbox Studio:\r\n\r\n<img width=\"795\" alt=\"screen shot 2015-09-07 at 13 39 21\" src=\"https://cloud.githubusercontent.com/assets/59284/9715996/0599710c-5566-11e5-95e8-2d6bd7e9bce5.png\">\r\n\r\nOn Mapbox GL JS has an example how to select features:\r\nhttps://www.mapbox.com/mapbox-gl-js/example/featuresat/\r\n\r\nIf you host vector tiles you need to show something - which is the debug viewer.\r\nGive the debugger a link to tiles.json and then it displays the debug view. "},"comment":{"url":"https://api.github.com/repos/geometalab/osm2vectortiles/issues/comments/153682432","html_url":"https://github.com/geometalab/osm2vectortiles/issues/12#issuecomment-153682432","issue_url":"https://api.github.com/repos/geometalab/osm2vectortiles/issues/12","id":153682432,"user":{"login":"lukasmartinelli","id":1288339,"avatar_url":"https://avatars.githubusercontent.com/u/1288339?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasmartinelli","html_url":"https://github.com/lukasmartinelli","followers_url":"https://api.github.com/users/lukasmartinelli/followers","following_url":"https://api.github.com/users/lukasmartinelli/following{/other_user}","gists_url":"https://api.github.com/users/lukasmartinelli/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasmartinelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasmartinelli/subscriptions","organizations_url":"https://api.github.com/users/lukasmartinelli/orgs","repos_url":"https://api.github.com/users/lukasmartinelli/repos","events_url":"https://api.github.com/users/lukasmartinelli/events{/privacy}","received_events_url":"https://api.github.com/users/lukasmartinelli/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T10:52:13Z","updated_at":"2015-11-04T10:52:13Z","body":"Just the links. Great trick to allow appending the TileJSON url to the url hashbang btw.\r\n\r\nMapbox Streets X-Ray Preview:\r\n\r\nhttp://klokantech.github.io/ol3-sandbox/vector/xray.html#http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v5.json?access_token=pk.eyJ1Ijoib3NtMnZlY3RvcnRpbGVzIiwiYSI6ImNpZnlkb2d0dTAyaDd1M2x6ZGg5cGp4aXQifQ.74RX5npQKmCE1jxsbXYNzQ|47.35929250871075|8.562469482421875|13\r\n\r\nMapbox Streets Tile Inspector:\r\n\r\nhttp://klokantech.github.io/ol3-sandbox/vector/tile-inspector.html#http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v5.json?access_token=pk.eyJ1Ijoib3NtMnZlY3RvcnRpbGVzIiwiYSI6ImNpZnlkb2d0dTAyaDd1M2x6ZGg5cGp4aXQifQ.74RX5npQKmCE1jxsbXYNzQ|47.389696670088995|368.5221578025774|13\r\n"}}