{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4491","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4491/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4491/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4491/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/4491","id":216753029,"node_id":"MDU6SXNzdWUyMTY3NTMwMjk=","number":4491,"title":"Support clustering for HTML \"Marker\"s","user":{"login":"D1M","id":5486231,"node_id":"MDQ6VXNlcjU0ODYyMzE=","avatar_url":"https://avatars3.githubusercontent.com/u/5486231?v=4","gravatar_id":"","url":"https://api.github.com/users/D1M","html_url":"https://github.com/D1M","followers_url":"https://api.github.com/users/D1M/followers","following_url":"https://api.github.com/users/D1M/following{/other_user}","gists_url":"https://api.github.com/users/D1M/gists{/gist_id}","starred_url":"https://api.github.com/users/D1M/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D1M/subscriptions","organizations_url":"https://api.github.com/users/D1M/orgs","repos_url":"https://api.github.com/users/D1M/repos","events_url":"https://api.github.com/users/D1M/events{/privacy}","received_events_url":"https://api.github.com/users/D1M/received_events","type":"User","site_admin":false},"labels":[{"id":31015438,"node_id":"MDU6TGFiZWwzMTAxNTQzOA==","url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/feature%20:green_apple:","name":"feature :green_apple:","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":35,"created_at":"2017-03-24T11:24:11Z","updated_at":"2018-07-28T05:51:00Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\nAs we can see here https://www.mapbox.com/mapbox-gl-js/example/custom-marker-icons/\r\nwe could create a custom Marker and add it to map.\r\ne.g. new mapboxgl.Marker(...).setLngLat(...).addTo(map);\r\n\r\nI'm trying to find the way how to add marker to the layer and organize into the Cluster. \r\nSmth like https://www.mapbox.com/mapbox-gl-js/example/cluster/ but with custom Markers:\r\n1. var map = new mapboxgl.Map...\r\n2. map.addSource(...);\r\n3. map.addLayer(...);\r\n4. and here map.getLayer(...).addMarker(Marker). or marker.addto(Layer/Source) or ...\r\nAs a result we should see a Cluster with custom markers.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/408585054","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/4491#issuecomment-408585054","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4491","id":408585054,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODU4NTA1NA==","user":{"login":"acostariel","id":7602263,"node_id":"MDQ6VXNlcjc2MDIyNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/7602263?v=4","gravatar_id":"","url":"https://api.github.com/users/acostariel","html_url":"https://github.com/acostariel","followers_url":"https://api.github.com/users/acostariel/followers","following_url":"https://api.github.com/users/acostariel/following{/other_user}","gists_url":"https://api.github.com/users/acostariel/gists{/gist_id}","starred_url":"https://api.github.com/users/acostariel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acostariel/subscriptions","organizations_url":"https://api.github.com/users/acostariel/orgs","repos_url":"https://api.github.com/users/acostariel/repos","events_url":"https://api.github.com/users/acostariel/events{/privacy}","received_events_url":"https://api.github.com/users/acostariel/received_events","type":"User","site_admin":false},"created_at":"2018-07-28T05:51:00Z","updated_at":"2018-07-28T05:51:00Z","author_association":"NONE","body":"+1"}}
{"actor":{"display_login":"acostariel"}}