{"action":"created","issue":{"url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/820","labels_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/820/comments","events_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/820/events","html_url":"https://github.com/tombatossals/angular-leaflet-directive/issues/820","id":90807301,"number":820,"title":"Random automatic markers destruction","user":{"login":"rtp-calpoly","id":5666358,"avatar_url":"https://avatars.githubusercontent.com/u/5666358?v=3","gravatar_id":"","url":"https://api.github.com/users/rtp-calpoly","html_url":"https://github.com/rtp-calpoly","followers_url":"https://api.github.com/users/rtp-calpoly/followers","following_url":"https://api.github.com/users/rtp-calpoly/following{/other_user}","gists_url":"https://api.github.com/users/rtp-calpoly/gists{/gist_id}","starred_url":"https://api.github.com/users/rtp-calpoly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtp-calpoly/subscriptions","organizations_url":"https://api.github.com/users/rtp-calpoly/orgs","repos_url":"https://api.github.com/users/rtp-calpoly/repos","events_url":"https://api.github.com/users/rtp-calpoly/events{/privacy}","received_events_url":"https://api.github.com/users/rtp-calpoly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-24T23:41:06Z","updated_at":"2015-06-25T05:58:41Z","closed_at":null,"body":"Randomly, I add a marker to the map and Angular Leaflet destroys it just right after I add it, see the attached screenshot.\r\n\r\nWhy is this happening? Angular Leaflet does not say anything else... how can I found out what is going on? I have not started any JSFiddle since it is a random error and it does not happen all the time.\r\n\r\n![screenshot from 2015-06-24 16 41 18](https://cloud.githubusercontent.com/assets/5666358/8343917/ada65796-1a8f-11e5-88a9-d1d90390b72a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/comments/115116639","html_url":"https://github.com/tombatossals/angular-leaflet-directive/issues/820#issuecomment-115116639","issue_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/820","id":115116639,"user":{"login":"rtp-calpoly","id":5666358,"avatar_url":"https://avatars.githubusercontent.com/u/5666358?v=3","gravatar_id":"","url":"https://api.github.com/users/rtp-calpoly","html_url":"https://github.com/rtp-calpoly","followers_url":"https://api.github.com/users/rtp-calpoly/followers","following_url":"https://api.github.com/users/rtp-calpoly/following{/other_user}","gists_url":"https://api.github.com/users/rtp-calpoly/gists{/gist_id}","starred_url":"https://api.github.com/users/rtp-calpoly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtp-calpoly/subscriptions","organizations_url":"https://api.github.com/users/rtp-calpoly/orgs","repos_url":"https://api.github.com/users/rtp-calpoly/repos","events_url":"https://api.github.com/users/rtp-calpoly/events{/privacy}","received_events_url":"https://api.github.com/users/rtp-calpoly/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T05:58:41Z","updated_at":"2015-06-25T05:58:41Z","body":"I am using the version directly from the master through the production CDN of rawgit.com. As far as I could found out, the issue #815 has already been merged with the master repository; therefore, I think that I am still \"suffering\" this issue.\r\n\r\nHere it is my main .html file that loads the JavaScript files:\r\n\r\n    <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n    <html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\r\n    <head>\r\n        <title>Operations Interface</title>\r\n        <meta charset=\"utf-8\" />\r\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n\r\n        <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=RobotoDraft:300,400,500,700,400italic\" />\r\n        <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css\" />\r\n        <link rel=\"stylesheet\" href=\"https://cdn.rawgit.com/l-lin/font-awesome-animation/master/dist/font-awesome-animation.css\" />\r\n        <link rel=\"stylesheet\" href=\"http://localhost:8081/satnet-ng-operations.min.css\" />\r\n    </head>\r\n    <body>\r\n        <div class=\"m-app-loading\" ng-animate-children>\r\n            <div class=\"animated-container\">\r\n                <div class=\"messaging\">\r\n                    <h2>Operations Interface</h2>\r\n                    <h2>(loading)</h2>\r\n                    <i class=\"fa fa-spinner faa-spin animated loading-spinner\"></i>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <operations-app></operations-app>\r\n        <!-- jQuery -->\r\n        <script src=\"https://code.jquery.com/jquery-2.1.3.min.js\"></script>\r\n        <!-- Non-ng Libraries -->\r\n        <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.4/moment-with-locales.min.js\"></script>\r\n        <script src=\"//cdn.jsdelivr.net/momentjs/latest/moment-with-locales.min.js\"></script>\r\n        <script src=\"https://js.pusher.com/2.2/pusher.min.js\"></script>\r\n        <!-- Angular Framework -->\r\n        <script src=\"https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js\"></script>\r\n        <script src=\"https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-animate.js\"></script>\r\n        <script src=\"https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-aria.js\"></script>\r\n        <script src=\"https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-cookies.js\"></script>\r\n        <!-- Angular Leaflet -->\r\n        <link rel=\"stylesheet\" href=\"http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.css\" />\r\n        <script src=\"http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.js\"></script>\r\n        <script src=\"https://cdn.rawgit.com/tombatossals/angular-leaflet-directive/master/dist/angular-leaflet-directive.min.js\"></script>\r\n        <!--<script src=\"https://github.com/tombatossals/angular-leaflet-directive/blob/master/dist/angular-leaflet-directive.min.js\"></script>-->\r\n        <script src=\"https://cdn.rawgit.com/joergdietrich/Leaflet.Terminator/master/L.Terminator.js\"></script>\r\n        <link rel=\"stylesheet\" href=\"https://cdn.rawgit.com/Leaflet/Leaflet.label/master/dist/leaflet.label.css\" />\r\n        <script src=\"https://cdn.rawgit.com/Leaflet/Leaflet.label/master/dist/leaflet.label.js\"></script>\r\n        <link rel=\"stylesheet\" href=\"https://cdn.rawgit.com/Leaflet/Leaflet.markercluster/master/dist/MarkerCluster.css\" />\r\n        <script src=\"https://cdn.rawgit.com/Leaflet/Leaflet.markercluster/master/dist/leaflet.markercluster.js\"></script>\r\n        <!-- Angular Moment -->\r\n        <script src=\"https://cdn.jsdelivr.net/angular.moment/latest/angular-moment.min.js\"></script>\r\n        <!-- Angular Pusher -->\r\n        <script src=\"https://cdn.jsdelivr.net/angular.pusher/latest/pusher-angular.min.js\"></script>\r\n        <!-- Angular Material -->\r\n        <link rel=\"stylesheet\" href=\"https://ajax.googleapis.com/ajax/libs/angular_material/0.8.3/angular-material.css\">\r\n        <script src=\"https://ajax.googleapis.com/ajax/libs/angular_material/0.8.3/angular-material.js\"></script>\r\n        <!-- Angular JSON-RPC -->\r\n        <script src=\"https://cdn.rawgit.com/ajsd/angular-uuid/master/uuid.min.js\"></script>\r\n        <script src=\"https://cdn.rawgit.com/ajsd/angular-jsonrpc/master/src/jsonrpc.js\"></script>\r\n        <!-- Angular Remote Validate -->\r\n        <script src=\"https://cdn.rawgit.com/webadvanced/ng-remote-validate/master/release/ngRemoteValidate.0.6.1.min.js\"></script>\r\n        <script src=\"http://localhost:8081/satnet-ng-operations.js\"></script>\r\n        <script src=\"http://localhost:8081/satnet-ng-operations-tpls.js\"></script>\r\n        <script>\r\n            window.setTimeout(\r\n                function () {\r\n                    angular.bootstrap(document, ['operationsDirective']);\r\n                }, 500\r\n            );\r\n        </script>\r\n    </body>\r\n    </html>\r\n"}}