{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/61","labels_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/61/comments","events_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/61/events","html_url":"https://github.com/angular-ui/ui-leaflet/issues/61","id":114092084,"number":61,"title":"Clustered via grouping markers disappear after destroy/create","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},"labels":[{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-10-29T16:37:39Z","updated_at":"2015-10-29T16:37:41Z","closed_at":null,"body":"_From @ivan-antonyuck on May 22, 2015 13:20_\n\nI found one more issue with clustering.\r\nIf i create a map with clustering via 'group' attribute on marker, and then destroy it with ng-if and then recreate again markers will not appear.\r\n\r\nplunker is here:\r\nhttp://plnkr.co/edit/VmBaz8Qm4GgjCbJR6vAB?p=preview\r\n\r\nTo replicate uncheck the checkbox and then check it again.\r\nI'm not exactly sure that it is not a leaflet.markercluster.js issue, though.\r\n\r\nUpd.:\r\nReplicated in Chrome 41 and firefox 38 and 40 on OS X\n\n_Copied from original issue: tombatossals/angular-leaflet-directive#769_"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/comments/152240710","html_url":"https://github.com/angular-ui/ui-leaflet/issues/61#issuecomment-152240710","issue_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/61","id":152240710,"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-10-29T16:37:40Z","updated_at":"2015-10-29T16:37:40Z","body":"_From @joeljeske on August 28, 2015 14:24_\n\nAlso having this issue. Any ideas or fixes? \r\n\r\nI actually ran into it inside of a UI Router State: the map and marker clusters would load fine the first time but on sequentially views of the state, the markers were not visible. "}}