{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1491","labels_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1491/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1491/comments","events_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1491/events","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1491","id":105555328,"number":1491,"title":"Event 'when markers of GeoJSON are loaded' ","user":{"login":"eljazouli","id":9250472,"avatar_url":"https://avatars.githubusercontent.com/u/9250472?v=3","gravatar_id":"","url":"https://api.github.com/users/eljazouli","html_url":"https://github.com/eljazouli","followers_url":"https://api.github.com/users/eljazouli/followers","following_url":"https://api.github.com/users/eljazouli/following{/other_user}","gists_url":"https://api.github.com/users/eljazouli/gists{/gist_id}","starred_url":"https://api.github.com/users/eljazouli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eljazouli/subscriptions","organizations_url":"https://api.github.com/users/eljazouli/orgs","repos_url":"https://api.github.com/users/eljazouli/repos","events_url":"https://api.github.com/users/eljazouli/events{/privacy}","received_events_url":"https://api.github.com/users/eljazouli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-09T09:11:18Z","updated_at":"2015-09-09T13:42:25Z","closed_at":null,"body":"Hi everyone, \r\nfirst of all, thank you for this great directive !\r\n\r\nI am trying to capture the event when markers are loaded and added to the map to hide a spinner. I'm using the markers directive to display a GeoJSON object. \r\nNow i simply add the GeoJSON to the scope markers like this : \r\n``$scope.markers = geojson;``\r\nI'm thinking of using promises (http://angular-ui.github.io/angular-google-maps/#!/api/Promise) but i need your help.\r\n\r\nThanks in advance !"},"comment":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/comments/138912323","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1491#issuecomment-138912323","issue_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1491","id":138912323,"user":{"login":"nmccready","id":583593,"avatar_url":"https://avatars.githubusercontent.com/u/583593?v=3","gravatar_id":"","url":"https://api.github.com/users/nmccready","html_url":"https://github.com/nmccready","followers_url":"https://api.github.com/users/nmccready/followers","following_url":"https://api.github.com/users/nmccready/following{/other_user}","gists_url":"https://api.github.com/users/nmccready/gists{/gist_id}","starred_url":"https://api.github.com/users/nmccready/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmccready/subscriptions","organizations_url":"https://api.github.com/users/nmccready/orgs","repos_url":"https://api.github.com/users/nmccready/repos","events_url":"https://api.github.com/users/nmccready/events{/privacy}","received_events_url":"https://api.github.com/users/nmccready/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T13:42:25Z","updated_at":"2015-09-09T13:42:25Z","body":"Does the spinner have to end after it is loaded by the UI or can it just stop spinning when you're done loading it via $http?"}}