{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin-student-partners/mapextend-plugin/issues/7","labels_url":"https://api.github.com/repos/xamarin-student-partners/mapextend-plugin/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/xamarin-student-partners/mapextend-plugin/issues/7/comments","events_url":"https://api.github.com/repos/xamarin-student-partners/mapextend-plugin/issues/7/events","html_url":"https://github.com/xamarin-student-partners/mapextend-plugin/issues/7","id":72938264,"number":7,"title":"Bug in EPin","user":{"login":"kolchy","id":1184800,"avatar_url":"https://avatars.githubusercontent.com/u/1184800?v=3","gravatar_id":"","url":"https://api.github.com/users/kolchy","html_url":"https://github.com/kolchy","followers_url":"https://api.github.com/users/kolchy/followers","following_url":"https://api.github.com/users/kolchy/following{/other_user}","gists_url":"https://api.github.com/users/kolchy/gists{/gist_id}","starred_url":"https://api.github.com/users/kolchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolchy/subscriptions","organizations_url":"https://api.github.com/users/kolchy/orgs","repos_url":"https://api.github.com/users/kolchy/repos","events_url":"https://api.github.com/users/kolchy/events{/privacy}","received_events_url":"https://api.github.com/users/kolchy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-04T06:54:17Z","updated_at":"2016-01-26T07:56:11Z","closed_at":null,"body":"The following code does not work UNLESS it is wrapped in a call to GetPositionAsync(). \r\n\r\n    var currentLocation = new Position (-37.81362, 144.9631);\r\n    Device.BeginInvokeOnMainThread(() => {\r\n        map.MoveToRegion(MapSpan.FromCenterAndRadius(currentLocation, Xamarin.Forms.Maps.Distance.FromMiles(0.5)));\r\n        map.EPins.Add(new PinExtend () { \tName = \"The Pin\", Location = currentLocation, ResourceNameImg = \"Icon-76\" });\r\n    });\r\n\r\nYou would expect this to work without the need to find the users current position."},"comment":{"url":"https://api.github.com/repos/xamarin-student-partners/mapextend-plugin/issues/comments/174881709","html_url":"https://github.com/xamarin-student-partners/mapextend-plugin/issues/7#issuecomment-174881709","issue_url":"https://api.github.com/repos/xamarin-student-partners/mapextend-plugin/issues/7","id":174881709,"user":{"login":"Lukejkw","id":13328460,"avatar_url":"https://avatars.githubusercontent.com/u/13328460?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukejkw","html_url":"https://github.com/Lukejkw","followers_url":"https://api.github.com/users/Lukejkw/followers","following_url":"https://api.github.com/users/Lukejkw/following{/other_user}","gists_url":"https://api.github.com/users/Lukejkw/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukejkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukejkw/subscriptions","organizations_url":"https://api.github.com/users/Lukejkw/orgs","repos_url":"https://api.github.com/users/Lukejkw/repos","events_url":"https://api.github.com/users/Lukejkw/events{/privacy}","received_events_url":"https://api.github.com/users/Lukejkw/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T07:56:11Z","updated_at":"2016-01-26T07:56:11Z","body":"@rafaelrmou I have downloaded the latest version of this plugin from within Xamarin Studio but the EPins property does not exist. \r\n\r\nThe main functionality I am looking for is the ability to add custom pins while retaining their OnClick functionality. Please could you point me in the right direction using your plugin. \r\n\r\nThanks."}}