{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6609","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6609/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6609/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6609/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/6609","id":181363329,"number":6609,"title":"Is there a built-in way to display the point count on top of each cluster point?","user":{"login":"rmnblm","id":5942764,"avatar_url":"https://avatars.githubusercontent.com/u/5942764?v=3","gravatar_id":"","url":"https://api.github.com/users/rmnblm","html_url":"https://github.com/rmnblm","followers_url":"https://api.github.com/users/rmnblm/followers","following_url":"https://api.github.com/users/rmnblm/following{/other_user}","gists_url":"https://api.github.com/users/rmnblm/gists{/gist_id}","starred_url":"https://api.github.com/users/rmnblm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmnblm/subscriptions","organizations_url":"https://api.github.com/users/rmnblm/orgs","repos_url":"https://api.github.com/users/rmnblm/repos","events_url":"https://api.github.com/users/rmnblm/events{/privacy}","received_events_url":"https://api.github.com/users/rmnblm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-06T09:19:11Z","updated_at":"2016-10-06T15:12:24Z","closed_at":null,"body":"**Platform:** iOS 10, Swift 3\r\n**Mapbox SDK version:** 3.4.0-alpha.5\r\n\r\nI couldn't find a way to display the point count on top of each cluster point so I built a more-or-less performant workaround. Did I miss something in the docs?\r\n\r\n![cluster_point_count](https://cloud.githubusercontent.com/assets/5942764/19147002/523d6450-8bb6-11e6-8e0b-b7148262bb38.gif)\r\n\r\n(For performance reasons I remove the UILabels on top of each cluster point when the MapView starts rendering, that's why the numbers disappear on zoom/dragging)"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/251992910","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/6609#issuecomment-251992910","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6609","id":251992910,"user":{"login":"jfirebaugh","id":98601,"avatar_url":"https://avatars.githubusercontent.com/u/98601?v=3","gravatar_id":"","url":"https://api.github.com/users/jfirebaugh","html_url":"https://github.com/jfirebaugh","followers_url":"https://api.github.com/users/jfirebaugh/followers","following_url":"https://api.github.com/users/jfirebaugh/following{/other_user}","gists_url":"https://api.github.com/users/jfirebaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/jfirebaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfirebaugh/subscriptions","organizations_url":"https://api.github.com/users/jfirebaugh/orgs","repos_url":"https://api.github.com/users/jfirebaugh/repos","events_url":"https://api.github.com/users/jfirebaugh/events{/privacy}","received_events_url":"https://api.github.com/users/jfirebaugh/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T15:12:24Z","updated_at":"2016-10-06T15:12:24Z","body":"Yes, you can see the technique in [this GL JS example](https://www.mapbox.com/mapbox-gl-js/example/cluster/): add a symbol layer with text-field set to `\"{point_count}\"`."}}
{"actor":{"display_login":"jfirebaugh"}}