{"action":"reopened","issue":{"url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/872","labels_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/872/labels{/name}","comments_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/872/comments","events_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/872/events","html_url":"https://github.com/tombatossals/angular-leaflet-directive/issues/872","id":97892568,"number":872,"title":"[Question]: Markers doesn't change on filtering geojsondata","user":{"login":"StOrMiSH","id":13472683,"avatar_url":"https://avatars.githubusercontent.com/u/13472683?v=3","gravatar_id":"","url":"https://api.github.com/users/StOrMiSH","html_url":"https://github.com/StOrMiSH","followers_url":"https://api.github.com/users/StOrMiSH/followers","following_url":"https://api.github.com/users/StOrMiSH/following{/other_user}","gists_url":"https://api.github.com/users/StOrMiSH/gists{/gist_id}","starred_url":"https://api.github.com/users/StOrMiSH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StOrMiSH/subscriptions","organizations_url":"https://api.github.com/users/StOrMiSH/orgs","repos_url":"https://api.github.com/users/StOrMiSH/repos","events_url":"https://api.github.com/users/StOrMiSH/events{/privacy}","received_events_url":"https://api.github.com/users/StOrMiSH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T09:14:26Z","updated_at":"2015-11-02T14:44:58Z","closed_at":null,"body":"Hello, I'm very new to Angular and Leaflet. Sorry for my second question :)\r\n\r\nI followed the example of iH8 from this question at Stackoverflow: how make ng-model=\"search\" have influence on leaflet directive?\r\n\r\nIf this event is fired\r\n\r\nfunction receiveMessage(event){\r\n$scope.geojson.data = $filter('filter')($scope.data, 'name', 'some Value');\r\n}\r\n\r\nfrom another tab or frame with postMessage:\r\n\r\nreceiver.postMessage('value', 'URL')\r\n\r\nthe view changes and everything works fine. If I call this function locally or any other function with\r\n\r\n$scope.geojson.data = $filter('filter')($scope.data, 'name', 'some Value');\r\n\r\nnothing changes. Can someone explain me why?\r\n\r\nThanks in advance!"}}