{"action":"created","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet.heat/issues/30","labels_url":"https://api.github.com/repos/Leaflet/Leaflet.heat/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet.heat/issues/30/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet.heat/issues/30/events","html_url":"https://github.com/Leaflet/Leaflet.heat/issues/30","id":94405595,"number":30,"title":"Built-in support for IDW heatmaps?","user":{"login":"fullofcaffeine","id":81248,"avatar_url":"https://avatars.githubusercontent.com/u/81248?v=3","gravatar_id":"","url":"https://api.github.com/users/fullofcaffeine","html_url":"https://github.com/fullofcaffeine","followers_url":"https://api.github.com/users/fullofcaffeine/followers","following_url":"https://api.github.com/users/fullofcaffeine/following{/other_user}","gists_url":"https://api.github.com/users/fullofcaffeine/gists{/gist_id}","starred_url":"https://api.github.com/users/fullofcaffeine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullofcaffeine/subscriptions","organizations_url":"https://api.github.com/users/fullofcaffeine/orgs","repos_url":"https://api.github.com/users/fullofcaffeine/repos","events_url":"https://api.github.com/users/fullofcaffeine/events{/privacy}","received_events_url":"https://api.github.com/users/fullofcaffeine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-10T22:29:29Z","updated_at":"2015-07-12T21:37:40Z","closed_at":"2015-07-12T10:01:53Z","body":"Hi!\r\n\r\nThanks for this library!\r\n\r\nI'm trying to create a heatmap like the one below:\r\n\r\n<img width=\"672\" alt=\"screenshot 2015-07-10 17 17 09\" src=\"https://cloud.githubusercontent.com/assets/81248/8630211/98a9995c-2728-11e5-9d94-3470b5a8c64f.png\">\r\n\r\n(Source: https://www.walkscore.com/choice/restaurants/NY/New_York)\r\n\r\nIt uses IDW - https://en.wikipedia.org/wiki/Inverse_distance_weighting. Notice also that the heatmap layer doesn't change as you zoom in/out.\r\n\r\nI'm wondering if Leaflet.heat supports this kind of heatmap visualization? Or is it something I'd have to implement manually?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Leaflet/Leaflet.heat/issues/comments/120763601","html_url":"https://github.com/Leaflet/Leaflet.heat/issues/30#issuecomment-120763601","issue_url":"https://api.github.com/repos/Leaflet/Leaflet.heat/issues/30","id":120763601,"user":{"login":"fullofcaffeine","id":81248,"avatar_url":"https://avatars.githubusercontent.com/u/81248?v=3","gravatar_id":"","url":"https://api.github.com/users/fullofcaffeine","html_url":"https://github.com/fullofcaffeine","followers_url":"https://api.github.com/users/fullofcaffeine/followers","following_url":"https://api.github.com/users/fullofcaffeine/following{/other_user}","gists_url":"https://api.github.com/users/fullofcaffeine/gists{/gist_id}","starred_url":"https://api.github.com/users/fullofcaffeine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullofcaffeine/subscriptions","organizations_url":"https://api.github.com/users/fullofcaffeine/orgs","repos_url":"https://api.github.com/users/fullofcaffeine/repos","events_url":"https://api.github.com/users/fullofcaffeine/events{/privacy}","received_events_url":"https://api.github.com/users/fullofcaffeine/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T21:37:40Z","updated_at":"2015-07-12T21:37:40Z","body":"Hi Vladimir,\r\n\r\nThank your for the reply. \r\n\r\nExcerpt from mourner/simpleheat#3:\r\n\r\n>For this to work as heatmaps, we would need to combine point clustering with interpolation, which is not >as simple, and getting sane results from this might involve a lot of tweaking.\r\n\r\nDo you know any other (open-source) javascript solution that implements that? Do you plan to support this in a near future for the `Leaflet.heat` plugin?\r\n\r\nWhen you say it might involve a lot of tweaking, what do you mean exactly?\r\n\r\nIt's strange that these methods are not readily available currently in open-source mapping javascript libraries, since it looks like a very popular visualization. What do you think?\r\n\r\nThank you very much for your time and help!"}}