{"action":"created","issue":{"url":"https://api.github.com/repos/BruTile/BruTile/issues/44","repository_url":"https://api.github.com/repos/BruTile/BruTile","labels_url":"https://api.github.com/repos/BruTile/BruTile/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/BruTile/BruTile/issues/44/comments","events_url":"https://api.github.com/repos/BruTile/BruTile/issues/44/events","html_url":"https://github.com/BruTile/BruTile/issues/44","id":159208154,"number":44,"title":"New try with WMTS in EPSG:3006 ","user":{"login":"pedwik","id":12912691,"avatar_url":"https://avatars.githubusercontent.com/u/12912691?v=3","gravatar_id":"","url":"https://api.github.com/users/pedwik","html_url":"https://github.com/pedwik","followers_url":"https://api.github.com/users/pedwik/followers","following_url":"https://api.github.com/users/pedwik/following{/other_user}","gists_url":"https://api.github.com/users/pedwik/gists{/gist_id}","starred_url":"https://api.github.com/users/pedwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedwik/subscriptions","organizations_url":"https://api.github.com/users/pedwik/orgs","repos_url":"https://api.github.com/users/pedwik/repos","events_url":"https://api.github.com/users/pedwik/events{/privacy}","received_events_url":"https://api.github.com/users/pedwik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-08T16:16:41Z","updated_at":"2016-06-09T11:53:55Z","closed_at":null,"body":"I am having a new go at trying to get a WMTS service work which is \"native\" EPSG:3006, with the latest code. I added this code at line 34 to Brutile.Demo in MainWindow.xaml.cs:\r\n\r\n`\r\nLayers.Children.Add(ToRadioButton(\"LM topowebb\", LantMaterietTopowebbTileSourceTest.Create)); \r\n`\r\n\r\nAnd this class to project Brutile.Samples.Common:\r\n\r\n`\r\nusing BruTile.Wmts;\r\nnamespace BruTile.Samples.Common\r\n{\r\n    public static class LantMaterietTopowebbTileSourceTest\r\n    {\r\n        public static ITileSource Create()\r\n        {\r\n            Uri uri = new Uri(\"https://api.lantmateriet.se/open/topowebb-ccby/v1/wmts/token/7cdfdab81eba86d0bc4fbb328165e9a/?request=GetCapabilities&version=1.1.1&service=wmts\");\r\n            var req = WebRequest.Create(uri);\r\n            var resp = req.GetResponseAsync();\r\n            ITileSource tileSource;\r\n            using (var stream = resp.Result.GetResponseStream())\r\n            {\r\n                var tileSources = WmtsParser.Parse(stream);\r\n                tileSource = tileSources.First(s => s.Name.ToLower() == \"topowebb\");\r\n            }\r\n            return tileSource;\r\n        }\r\n    }\r\n}`\r\n\r\nThere are no errors now, but no map data is displayed when runing Brutile.Demo and selecting node \"LM topowebb\", just a red dot. The tile source object has expected values as far as I can see. Any ideas?"},"comment":{"url":"https://api.github.com/repos/BruTile/BruTile/issues/comments/224873257","html_url":"https://github.com/BruTile/BruTile/issues/44#issuecomment-224873257","issue_url":"https://api.github.com/repos/BruTile/BruTile/issues/44","id":224873257,"user":{"login":"pedwik","id":12912691,"avatar_url":"https://avatars.githubusercontent.com/u/12912691?v=3","gravatar_id":"","url":"https://api.github.com/users/pedwik","html_url":"https://github.com/pedwik","followers_url":"https://api.github.com/users/pedwik/followers","following_url":"https://api.github.com/users/pedwik/following{/other_user}","gists_url":"https://api.github.com/users/pedwik/gists{/gist_id}","starred_url":"https://api.github.com/users/pedwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedwik/subscriptions","organizations_url":"https://api.github.com/users/pedwik/orgs","repos_url":"https://api.github.com/users/pedwik/repos","events_url":"https://api.github.com/users/pedwik/events{/privacy}","received_events_url":"https://api.github.com/users/pedwik/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T11:53:55Z","updated_at":"2016-06-09T11:53:55Z","body":"Works great with the fix!\r\n"}}
{"actor":{"display_login":"pedwik"}}