{"action":"created","issue":{"url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/116","repository_url":"https://api.github.com/repos/SINTEF-9012/PruneCluster","labels_url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/116/comments","events_url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/116/events","html_url":"https://github.com/SINTEF-9012/PruneCluster/issues/116","id":137320451,"number":116,"title":"Removing Marker keeps the _removeFlag to true","user":{"login":"Cadrach","id":142103,"avatar_url":"https://avatars.githubusercontent.com/u/142103?v=3","gravatar_id":"","url":"https://api.github.com/users/Cadrach","html_url":"https://github.com/Cadrach","followers_url":"https://api.github.com/users/Cadrach/followers","following_url":"https://api.github.com/users/Cadrach/following{/other_user}","gists_url":"https://api.github.com/users/Cadrach/gists{/gist_id}","starred_url":"https://api.github.com/users/Cadrach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cadrach/subscriptions","organizations_url":"https://api.github.com/users/Cadrach/orgs","repos_url":"https://api.github.com/users/Cadrach/repos","events_url":"https://api.github.com/users/Cadrach/events{/privacy}","received_events_url":"https://api.github.com/users/Cadrach/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-29T17:36:00Z","updated_at":"2016-03-02T17:58:45Z","closed_at":"2016-03-01T07:20:32Z","body":"Hi all,\r\n\r\nFirst, thanks for such a great library!\r\n\r\nIn a project where we are implementing it, we have come accross an issue when removing a PruneCluster.Marker\r\n\r\nWithout getting into too much detail, in our project we manage multiple Pruneclusters for the same map, each of them holding parts of a set of markers. Some markers are shared between the clusters.\r\n\r\nWhat happens is, when a marker is removed from a cluster, it is marked with a flag \"_removeFlag\" set to true.\r\n\r\nThe issue is that this flag is never removed, even after the cluster has removed the flag from its display, and if another cluster is using the same flag, it will remove it too on its next \"RemoveMarkers\" call.\r\n\r\nI provided a fix from my fork, if you can merge it it would be nice :)\r\nPull Request: https://github.com/SINTEF-9012/PruneCluster/pull/117\r\n\r\n(I am new to TypeScript, so feel free to modify the PR before merging it!)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/comments/191350584","html_url":"https://github.com/SINTEF-9012/PruneCluster/issues/116#issuecomment-191350584","issue_url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/116","id":191350584,"user":{"login":"yellowiscool","id":45740,"avatar_url":"https://avatars.githubusercontent.com/u/45740?v=3","gravatar_id":"","url":"https://api.github.com/users/yellowiscool","html_url":"https://github.com/yellowiscool","followers_url":"https://api.github.com/users/yellowiscool/followers","following_url":"https://api.github.com/users/yellowiscool/following{/other_user}","gists_url":"https://api.github.com/users/yellowiscool/gists{/gist_id}","starred_url":"https://api.github.com/users/yellowiscool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellowiscool/subscriptions","organizations_url":"https://api.github.com/users/yellowiscool/orgs","repos_url":"https://api.github.com/users/yellowiscool/repos","events_url":"https://api.github.com/users/yellowiscool/events{/privacy}","received_events_url":"https://api.github.com/users/yellowiscool/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T17:58:45Z","updated_at":"2016-03-02T17:58:45Z","body":"Is the -1 Size&Margin hack fast enough ? I never tried it and I'm amazed that it doesn't crash :d"}}