{"action":"created","issue":{"url":"https://api.github.com/repos/iTowns/itowns/issues/463","repository_url":"https://api.github.com/repos/iTowns/itowns","labels_url":"https://api.github.com/repos/iTowns/itowns/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/iTowns/itowns/issues/463/comments","events_url":"https://api.github.com/repos/iTowns/itowns/issues/463/events","html_url":"https://github.com/iTowns/itowns/issues/463","id":253969566,"number":463,"title":"Can't query crs","user":{"login":"madalinul","id":6424322,"avatar_url":"https://avatars0.githubusercontent.com/u/6424322?v=4","gravatar_id":"","url":"https://api.github.com/users/madalinul","html_url":"https://github.com/madalinul","followers_url":"https://api.github.com/users/madalinul/followers","following_url":"https://api.github.com/users/madalinul/following{/other_user}","gists_url":"https://api.github.com/users/madalinul/gists{/gist_id}","starred_url":"https://api.github.com/users/madalinul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madalinul/subscriptions","organizations_url":"https://api.github.com/users/madalinul/orgs","repos_url":"https://api.github.com/users/madalinul/repos","events_url":"https://api.github.com/users/madalinul/events{/privacy}","received_events_url":"https://api.github.com/users/madalinul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-30T11:45:23Z","updated_at":"2017-08-30T13:14:14Z","closed_at":null,"author_association":"NONE","body":"I am trying to add some custom wmtsc layers to a view with this code \r\n\r\n```\r\nview.addLayer({\r\n    customUrl: 'https://{a-c}.tile.openstreetmap.org/',\r\n    networkOptions: { crossOrigin: 'anonymous' },\r\n    type: 'color',\r\n    protocol: 'wmtsc',\r\n    id: 'osm_map',\r\n    projection: 'EPSG:3857',\r\n    options: {\r\n    \ttileMatrixSet: 'WGS84G',\r\n    \tmimetype: 'image/png',\r\n    },\r\n});\r\n\r\n```\r\nI am using the PlanarView like this\r\n\r\n```\r\nextent = new itowns.Extent(\r\n    'EPSG:3857',\r\n    146117.78532012575, 5385109.128666598, 177113.00028976472, 5420575.90979092);\r\n\r\n// `viewerDiv` will contain iTowns' rendering area (`<canvas>`)\r\nviewerDiv = document.getElementById('viewerDiv');\r\n\r\n// Instanciate PlanarView*\r\nview = new itowns.PlanarView(viewerDiv, extent, { renderer: renderer });\r\n```\r\n\r\nBut I get this error: 'Can't query crs EPSG:3857 long/lat'.\r\nCan someone help me?"},"comment":{"url":"https://api.github.com/repos/iTowns/itowns/issues/comments/325986102","html_url":"https://github.com/iTowns/itowns/issues/463#issuecomment-325986102","issue_url":"https://api.github.com/repos/iTowns/itowns/issues/463","id":325986102,"user":{"login":"autra","id":1576598,"avatar_url":"https://avatars3.githubusercontent.com/u/1576598?v=4","gravatar_id":"","url":"https://api.github.com/users/autra","html_url":"https://github.com/autra","followers_url":"https://api.github.com/users/autra/followers","following_url":"https://api.github.com/users/autra/following{/other_user}","gists_url":"https://api.github.com/users/autra/gists{/gist_id}","starred_url":"https://api.github.com/users/autra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autra/subscriptions","organizations_url":"https://api.github.com/users/autra/orgs","repos_url":"https://api.github.com/users/autra/repos","events_url":"https://api.github.com/users/autra/events{/privacy}","received_events_url":"https://api.github.com/users/autra/received_events","type":"User","site_admin":false},"created_at":"2017-08-30T13:14:14Z","updated_at":"2017-08-30T13:14:14Z","author_association":"CONTRIBUTOR","body":"Hi! Thanks for reporting this issue :-)\r\n\r\nHowever I can't reproduce :-( Can you copy-paste:\r\n- the full stacktrace\r\n- your html file? Or better: the link to your project if your code is open-source? Or alternatively, could you publish a test case allowing us to reproduce somewhere?\r\n\r\nCan you tell me which itowns version are you using? (a commit hash is best).\r\n\r\nPlease note that if you need a globe, you can't currently use a TMS layer in another CRS than EPSG:4978...\r\n\r\nThanks!"}}
{"actor":{"display_login":"autra"}}