{"action":"created","issue":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/4240","repository_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium","labels_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/4240/labels{/name}","comments_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/4240/comments","events_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/4240/events","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/4240","id":173547892,"number":4240,"title":"Label/Billboard/Point clustering","user":{"login":"bagnell","id":1494815,"avatar_url":"https://avatars.githubusercontent.com/u/1494815?v=3","gravatar_id":"","url":"https://api.github.com/users/bagnell","html_url":"https://github.com/bagnell","followers_url":"https://api.github.com/users/bagnell/followers","following_url":"https://api.github.com/users/bagnell/following{/other_user}","gists_url":"https://api.github.com/users/bagnell/gists{/gist_id}","starred_url":"https://api.github.com/users/bagnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagnell/subscriptions","organizations_url":"https://api.github.com/users/bagnell/orgs","repos_url":"https://api.github.com/users/bagnell/repos","events_url":"https://api.github.com/users/bagnell/events{/privacy}","received_events_url":"https://api.github.com/users/bagnell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-08-26T21:32:45Z","updated_at":"2016-09-08T21:17:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/pulls/4240","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/4240","diff_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/4240.diff","patch_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/4240.patch"},"body":"Adds label, billboard, and point clustering. There is a new object on each data source called `clustering`. This has properties `enabled`, `pixelRange` and `minimumClusterSize`. There is also `clusterEvent` that is raised for every new cluster. The parameters to the callback are the array of entities being clustered and an entity that will be drawn for the cluster. The `label` and `billboard` properties for the second entity parameter are the only things considered when drawing the cluster.\r\n\r\nTODO:\r\n- [ ] Fix labels clamped to ground or screen space position in 2D/CV?\r\n- [x] Fix existing tests\r\n- [x] Add new tests\r\n- [x] Update doc\r\n- [x] Update `CHANGES.md`\r\n- [x] Update `LICENSE.md` for `kdbush`\r\n- [ ] Submit issues for deprecated function parameters"},"comment":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/comments/245744305","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/4240#issuecomment-245744305","issue_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/4240","id":245744305,"user":{"login":"colek42","id":6634325,"avatar_url":"https://avatars.githubusercontent.com/u/6634325?v=3","gravatar_id":"","url":"https://api.github.com/users/colek42","html_url":"https://github.com/colek42","followers_url":"https://api.github.com/users/colek42/followers","following_url":"https://api.github.com/users/colek42/following{/other_user}","gists_url":"https://api.github.com/users/colek42/gists{/gist_id}","starred_url":"https://api.github.com/users/colek42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colek42/subscriptions","organizations_url":"https://api.github.com/users/colek42/orgs","repos_url":"https://api.github.com/users/colek42/repos","events_url":"https://api.github.com/users/colek42/events{/privacy}","received_events_url":"https://api.github.com/users/colek42/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T21:17:55Z","updated_at":"2016-09-08T21:17:55Z","body":"When an entity is added to a datasource the clustering is not updated until the camera position is moved."}}
{"actor":{"display_login":"colek42"}}