{"action":"created","issue":{"url":"https://api.github.com/repos/Mapsui/Mapsui/issues/497","repository_url":"https://api.github.com/repos/Mapsui/Mapsui","labels_url":"https://api.github.com/repos/Mapsui/Mapsui/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/Mapsui/Mapsui/issues/497/comments","events_url":"https://api.github.com/repos/Mapsui/Mapsui/issues/497/events","html_url":"https://github.com/Mapsui/Mapsui/issues/497","id":351090325,"node_id":"MDU6SXNzdWUzNTEwOTAzMjU=","number":497,"title":"Map should be in zoomed position","user":{"login":"abhay081994","id":40452769,"node_id":"MDQ6VXNlcjQwNDUyNzY5","avatar_url":"https://avatars1.githubusercontent.com/u/40452769?v=4","gravatar_id":"","url":"https://api.github.com/users/abhay081994","html_url":"https://github.com/abhay081994","followers_url":"https://api.github.com/users/abhay081994/followers","following_url":"https://api.github.com/users/abhay081994/following{/other_user}","gists_url":"https://api.github.com/users/abhay081994/gists{/gist_id}","starred_url":"https://api.github.com/users/abhay081994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhay081994/subscriptions","organizations_url":"https://api.github.com/users/abhay081994/orgs","repos_url":"https://api.github.com/users/abhay081994/repos","events_url":"https://api.github.com/users/abhay081994/events{/privacy}","received_events_url":"https://api.github.com/users/abhay081994/received_events","type":"User","site_admin":false},"labels":[{"id":84294817,"node_id":"MDU6TGFiZWw4NDI5NDgxNw==","url":"https://api.github.com/repos/Mapsui/Mapsui/labels/question","name":"question","color":"8ecc4d","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-16T07:40:23Z","updated_at":"2018-08-18T07:30:25Z","closed_at":null,"author_association":"NONE","body":"I have Implemented map for tracking feature. in that map is zoom in. \r\nso a line is not displayed properly we have to zoom for Display the lines.\r\nI want that map should be zoom out so users can see proper Tracking lines.\r\n\r\n```c#\r\n        public void Map()\r\n        {\r\n            var Long = Convert.ToDouble(LongitudeLbl.Text);\r\n            var Lat = Convert.ToDouble(LatitudeLbl.Text);\r\n\r\n            mapControl.NativeMap.Layers.Add(CreateTileLayer());\r\n            //// OSM uses spherical mercator coordinates. So transform the lon lat coordinates to spherical            mercator\r\n            var sphericalMercatorCoordinate = SphericalMercator.FromLonLat(Long, Lat);\r\n            //// Set the center of the viewport to the coordinate. The UI will refresh automatically\r\n            mapControl.NativeMap.NavigateTo(sphericalMercatorCoordinate);\r\n            //// Additionally you might want to set the resolution, this could depend on your specific purpose\r\n            mapControl.NativeMap.NavigateTo(mapControl.NativeMap.Resolutions[9]);\r\n            MapGrid.Children.Add(mapControl);\r\n            lineLayer = CreateLineLayer();\r\n            MarkerLayer = marker();\r\n            mapControl.NativeMap.Layers.Add(MarkerLayer);\r\n            mapControl.NativeMap.Layers.Add(lineLayer);\r\n        }\r\n```"},"comment":{"url":"https://api.github.com/repos/Mapsui/Mapsui/issues/comments/414038752","html_url":"https://github.com/Mapsui/Mapsui/issues/497#issuecomment-414038752","issue_url":"https://api.github.com/repos/Mapsui/Mapsui/issues/497","id":414038752,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDAzODc1Mg==","user":{"login":"pauldendulk","id":963462,"node_id":"MDQ6VXNlcjk2MzQ2Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/963462?v=4","gravatar_id":"","url":"https://api.github.com/users/pauldendulk","html_url":"https://github.com/pauldendulk","followers_url":"https://api.github.com/users/pauldendulk/followers","following_url":"https://api.github.com/users/pauldendulk/following{/other_user}","gists_url":"https://api.github.com/users/pauldendulk/gists{/gist_id}","starred_url":"https://api.github.com/users/pauldendulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauldendulk/subscriptions","organizations_url":"https://api.github.com/users/pauldendulk/orgs","repos_url":"https://api.github.com/users/pauldendulk/repos","events_url":"https://api.github.com/users/pauldendulk/events{/privacy}","received_events_url":"https://api.github.com/users/pauldendulk/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T07:30:25Z","updated_at":"2018-08-18T07:30:25Z","author_association":"COLLABORATOR","body":"So the problem is that you cannot see the line when you are zoomed out? Of is the problem that you want to zoom to that feature?\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"pauldendulk"}}