{"action":"created","issue":{"url":"https://api.github.com/repos/camptocamp/ngeo/issues/420","labels_url":"https://api.github.com/repos/camptocamp/ngeo/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/camptocamp/ngeo/issues/420/comments","events_url":"https://api.github.com/repos/camptocamp/ngeo/issues/420/events","html_url":"https://github.com/camptocamp/ngeo/pull/420","id":119578033,"number":420,"title":"Gmf geolocation mobile","user":{"login":"adube","id":432436,"avatar_url":"https://avatars.githubusercontent.com/u/432436?v=3","gravatar_id":"","url":"https://api.github.com/users/adube","html_url":"https://github.com/adube","followers_url":"https://api.github.com/users/adube/followers","following_url":"https://api.github.com/users/adube/following{/other_user}","gists_url":"https://api.github.com/users/adube/gists{/gist_id}","starred_url":"https://api.github.com/users/adube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adube/subscriptions","organizations_url":"https://api.github.com/users/adube/orgs","repos_url":"https://api.github.com/users/adube/repos","events_url":"https://api.github.com/users/adube/events{/privacy}","received_events_url":"https://api.github.com/users/adube/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2015-11-30T20:48:57Z","updated_at":"2015-12-07T14:40:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/camptocamp/ngeo/pulls/420","html_url":"https://github.com/camptocamp/ngeo/pull/420","diff_url":"https://github.com/camptocamp/ngeo/pull/420.diff","patch_url":"https://github.com/camptocamp/ngeo/pull/420.patch"},"body":"This PR introduces the GMF mobile geolocation directive.  When clicked, if inactive, the inner geolocation gets activated.  A point feature is added on the map for the location and an other regular polygon feature is added for the precision.  If clicked again, if the position is at the center of the map, then the tracking is deactivated.  Otherwise, a new tracking position is obtained.\r\n\r\nIt also introduces an example in which it is featured.\r\n\r\nIt is possible to define 3 options:\r\n\r\n * `accuracyFeatureStyle`\r\n * `positionFeatureStyle`\r\n * `zoom`"},"comment":{"url":"https://api.github.com/repos/camptocamp/ngeo/issues/comments/162543560","html_url":"https://github.com/camptocamp/ngeo/pull/420#issuecomment-162543560","issue_url":"https://api.github.com/repos/camptocamp/ngeo/issues/420","id":162543560,"user":{"login":"fgravin","id":1491924,"avatar_url":"https://avatars.githubusercontent.com/u/1491924?v=3","gravatar_id":"","url":"https://api.github.com/users/fgravin","html_url":"https://github.com/fgravin","followers_url":"https://api.github.com/users/fgravin/followers","following_url":"https://api.github.com/users/fgravin/following{/other_user}","gists_url":"https://api.github.com/users/fgravin/gists{/gist_id}","starred_url":"https://api.github.com/users/fgravin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgravin/subscriptions","organizations_url":"https://api.github.com/users/fgravin/orgs","repos_url":"https://api.github.com/users/fgravin/repos","events_url":"https://api.github.com/users/fgravin/events{/privacy}","received_events_url":"https://api.github.com/users/fgravin/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T14:40:31Z","updated_at":"2015-12-07T14:40:31Z","body":"Well, the `ngclick` itself is an AngularJS inner directive that do something on `element.click`.\r\nhttps://github.com/angular/angular.js/blob/master/src/ng/directive/ngEventDirs.js#L62\r\n\r\nThe main point here is that we don't want to have a template telling it's gonna be a button, we prefer to have a directive that just add behavior to an element, this behavior here is an action on click, whatever element you have."}}