{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/19","labels_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/19/comments","events_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/19/events","html_url":"https://github.com/angular-ui/ui-leaflet/issues/19","id":114085674,"number":19,"title":"Latency using markercluster with 15K points","user":{"login":"nmccready","id":583593,"avatar_url":"https://avatars.githubusercontent.com/u/583593?v=3","gravatar_id":"","url":"https://api.github.com/users/nmccready","html_url":"https://github.com/nmccready","followers_url":"https://api.github.com/users/nmccready/followers","following_url":"https://api.github.com/users/nmccready/following{/other_user}","gists_url":"https://api.github.com/users/nmccready/gists{/gist_id}","starred_url":"https://api.github.com/users/nmccready/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmccready/subscriptions","organizations_url":"https://api.github.com/users/nmccready/orgs","repos_url":"https://api.github.com/users/nmccready/repos","events_url":"https://api.github.com/users/nmccready/events{/privacy}","received_events_url":"https://api.github.com/users/nmccready/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-29T16:12:20Z","updated_at":"2015-11-18T14:59:28Z","closed_at":null,"body":"_From @vadvv on May 19, 2014 15:12_\n\nI'm having a problem clustering a large number of points (my current set is 40K+ points, but I've even gone down to about 15K points). It takes very long to cluster, and then when zooming in/out it takes similar time for the layer to render. Most of the time the browser (in my case Chrome) asks to kill the tab.\r\n\r\nI should add that to overcome this, I had decided to show the data as a heat map until a zoom level is reached, after which I thought I could show the cluster, but that didn't seem to help either and resulted in the same delay.\r\n\r\nThese are my layerOptions:\r\nlayerOptions: {\r\n\t\t                    \"chunkedLoading\": true,\r\n\t\t                    \"showCoverageOnHover\": false,\r\n\t\t                    \"removeOutsideVisibleBounds\": true,\r\n\t\t                    \"chunkProgress\": updateProgressBar\r\n\t\t                }\r\n\r\nI see that there's a leafletjs example that clusters 50K points pretty gracefully:\r\nhttp://leaflet.github.io/Leaflet.markercluster/example/marker-clustering-realworld.50000.html\r\n\r\nHere's a fiddle demonstrating the behavior:\r\nhttp://jsfiddle.net/redgis/BLW4p/\n\n_Copied from original issue: tombatossals/angular-leaflet-directive#371_"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/comments/157740203","html_url":"https://github.com/angular-ui/ui-leaflet/issues/19#issuecomment-157740203","issue_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/19","id":157740203,"user":{"login":"nmccready","id":583593,"avatar_url":"https://avatars.githubusercontent.com/u/583593?v=3","gravatar_id":"","url":"https://api.github.com/users/nmccready","html_url":"https://github.com/nmccready","followers_url":"https://api.github.com/users/nmccready/followers","following_url":"https://api.github.com/users/nmccready/following{/other_user}","gists_url":"https://api.github.com/users/nmccready/gists{/gist_id}","starred_url":"https://api.github.com/users/nmccready/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmccready/subscriptions","organizations_url":"https://api.github.com/users/nmccready/orgs","repos_url":"https://api.github.com/users/nmccready/repos","events_url":"https://api.github.com/users/nmccready/events{/privacy}","received_events_url":"https://api.github.com/users/nmccready/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T14:59:28Z","updated_at":"2015-11-18T14:59:28Z","body":"This is issue is still open therefore that is your answer.\r\n\r\nThere are probably a few problems.\r\n\r\n- cloning of individual marker to keep digests down but this is also slow\r\n-  the marker cluster plugin is known to not be as good as [Prune Clusterer](#54)"}}