{"_id":"leaflet.heat","_rev":"9-f36b9c0272e7e9ecdf9c1ea7cd7a4e68","name":"leaflet.heat","description":"A tiny and fast Leaflet heatmap plugin.","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"leaflet.heat","version":"0.0.1","description":"A tiny and fast Leaflet heatmap plugin.","homepage":"https://github.com/Leaflet/Leaflet.heat","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/Leaflet/Leaflet.heat.git"},"main":"dist/leaflet-heat.js","devDependencies":{"simpleheat":"~0.2.0","uglify-js":"~2.4.12"},"scripts":{"test":"jshint src","prepublish":"uglifyjs node_modules/simpleheat/simpleheat.js src/HeatLayer.js -c -m --comments /Vladimir/ -o dist/leaflet-heat.js"},"jshintConfig":{"quotmark":"single","strict":true,"trailing":true},"bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"_id":"leaflet.heat@0.0.1","dist":{"shasum":"e8b29af71c4bebecbde3dd997a42b9677bafa0b3","tarball":"https://registry.npmjs.org/leaflet.heat/-/leaflet.heat-0.0.1.tgz","integrity":"sha512-OY9b7dYWc+WqMp0QvbBAege64EWHTbe7pqovctTd+X/kvUknY6uRfaF2StXTwm+4TVBv4sGHd/k0RgWAdXzh/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC93s8MEtC7h/tLQd4AFsyjfa+a9Y8z8w4hcLyP1P+oygIhAIHg+84Xyg5w+rrUIJuWnOMYs6+rctv/bGhOd3d+6wFq"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"0.1.0":{"name":"leaflet.heat","version":"0.1.0","description":"A tiny and fast Leaflet heatmap plugin.","homepage":"https://github.com/Leaflet/Leaflet.heat","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/Leaflet/Leaflet.heat.git"},"main":"dist/leaflet-heat.js","devDependencies":{"simpleheat":"~0.2.0","uglify-js":"~2.4.12"},"scripts":{"test":"jshint src","prepublish":"uglifyjs node_modules/simpleheat/simpleheat.js src/HeatLayer.js -c -m --comments /Vladimir/ -o dist/leaflet-heat.js"},"jshintConfig":{"quotmark":"single","globals":{"L":true,"simpleheat":true},"trailing":true,"camelcase":true,"curly":true,"eqeqeq":true,"noempty":true,"nonbsp":true,"undef":true,"unused":true,"browser":true},"bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"_id":"leaflet.heat@0.1.0","dist":{"shasum":"54a691903363e749427d40958883b8498efa2c73","tarball":"https://registry.npmjs.org/leaflet.heat/-/leaflet.heat-0.1.0.tgz","integrity":"sha512-KNgixPZyLAvMvBFfa15lS8RC4OGAdnVIauOS+O5CS8wMp1L73bZWZEaOfxp5X5qLr/eoWq7EEvjp8IPB/w7AqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHk64RBqdV1VeUIiP5ngujAMyb0ig2qXNBsHywJYDYJEAiEAyG+sR9r2wEoTZikNyCLI93/SyUaVLAgCs59tLixH2Cg="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}]},"0.1.1":{"name":"leaflet.heat","version":"0.1.1","description":"A tiny and fast Leaflet heatmap plugin.","homepage":"https://github.com/Leaflet/Leaflet.heat","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/Leaflet/Leaflet.heat.git"},"main":"dist/leaflet-heat.js","devDependencies":{"simpleheat":"~0.2.0","uglify-js":"~2.4.12"},"scripts":{"test":"jshint src","prepublish":"uglifyjs node_modules/simpleheat/simpleheat.js src/HeatLayer.js -c -m --comments /Vladimir/ -o dist/leaflet-heat.js"},"jshintConfig":{"quotmark":"single","globals":{"L":true,"simpleheat":true},"trailing":true,"camelcase":true,"curly":true,"eqeqeq":true,"noempty":true,"nonbsp":true,"undef":true,"unused":true,"browser":true},"bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"_id":"leaflet.heat@0.1.1","dist":{"shasum":"4c8d2f5da068537785ac1aba11dd82104d201454","tarball":"https://registry.npmjs.org/leaflet.heat/-/leaflet.heat-0.1.1.tgz","integrity":"sha512-rvJ7PjV+tVdlRNkpvvSHyd0F6i+Igwu0StoeUvpAyNUbOcdBT4D0i8dz5MuiO02nkwvIX6zzVoGwWTE+Cf4h5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFm3yTvUevpci2+wSOA+jj9kkYmMwMOVYEPiIIEZ+a2kAiAEcTk4HAZq1fe0PCCRPmxifyoPM51UH5MZ2/lTFTjpTw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}]},"0.1.3":{"name":"leaflet.heat","version":"0.1.3","description":"A tiny and fast Leaflet heatmap plugin.","homepage":"https://github.com/Leaflet/Leaflet.heat","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/Leaflet/Leaflet.heat.git"},"main":"dist/leaflet-heat.js","devDependencies":{"simpleheat":"~0.2.0","uglify-js":"~2.4.15"},"scripts":{"test":"jshint src","prepublish":"uglifyjs node_modules/simpleheat/simpleheat.js src/HeatLayer.js -c -m --comments /Vladimir/ -o dist/leaflet-heat.js"},"jshintConfig":{"quotmark":"single","globals":{"L":true,"simpleheat":true},"trailing":true,"camelcase":true,"curly":true,"eqeqeq":true,"noempty":true,"nonbsp":true,"undef":true,"unused":true,"browser":true},"gitHead":"627ede7c11bbe43a3a8b94a5be0d0745cac71e64","bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"_id":"leaflet.heat@0.1.3","_shasum":"ad798d8db69d49873bfcbe7116a22158ed7c7076","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"dist":{"shasum":"ad798d8db69d49873bfcbe7116a22158ed7c7076","tarball":"https://registry.npmjs.org/leaflet.heat/-/leaflet.heat-0.1.3.tgz","integrity":"sha512-t0BKjhE0vt/HHNdAZQZw1FmeFpujMKJwT654ipe8WNOMF50PM1lcuDI9ndL8wRThk9EI3GIv8oHIeG9/fGdo8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFvaSx08M032Hzc7u3p6l4ae/vOnu1RAnsp+ptvk3dQvAiEA6tmNDakcUIwq9L/im915LPUetT7/ZlwJw3bNCLZkwZ4="}]}},"0.2.0":{"name":"leaflet.heat","version":"0.2.0","description":"A tiny and fast Leaflet heatmap plugin.","homepage":"https://github.com/Leaflet/Leaflet.heat","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/Leaflet/Leaflet.heat.git"},"main":"dist/leaflet-heat.js","devDependencies":{"simpleheat":"~0.2.0","uglify-js":"~2.4.15"},"scripts":{"test":"jshint src","prepublish":"uglifyjs node_modules/simpleheat/simpleheat.js src/HeatLayer.js -c -m --comments /Vladimir/ -o dist/leaflet-heat.js"},"jshintConfig":{"quotmark":"single","globals":{"L":true,"simpleheat":true},"trailing":true,"camelcase":true,"curly":true,"eqeqeq":true,"noempty":true,"nonbsp":true,"undef":true,"unused":true,"browser":true},"gitHead":"5eaa88041c0664c03b3051b34686bc18703988b6","bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"_id":"leaflet.heat@0.2.0","_shasum":"109d8cf586f0adee41f05aff031e27a77fecc229","_from":".","_npmVersion":"2.14.4","_nodeVersion":"0.12.7","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"dist":{"shasum":"109d8cf586f0adee41f05aff031e27a77fecc229","tarball":"https://registry.npmjs.org/leaflet.heat/-/leaflet.heat-0.2.0.tgz","integrity":"sha512-Cd5PbAA/rX3X3XKxfDoUGi9qp78FyhWYurFg3nsfhntcM/MCNK08pRkf4iEenO1KNqwVPKCmkyktjW3UD+h9bQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzLPon/GB9GVX7LfV609KZdHOEf0pujjv5VA7U4Nsz2AIgUj7x6U5ci8M7nfd26NRRdmcjqFlJyMkh7WOJ4+UywTM="}]},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}]}},"readme":"Leaflet.heat\n==========\n\nA tiny, simple and fast [Leaflet](http://leafletjs.com) heatmap plugin.\nUses [simpleheat](https://github.com/mourner/simpleheat) under the hood,\nadditionally clustering points into a grid for performance.\n\n\n## Demos\n\n- [10,000 points &rarr;](http://leaflet.github.io/Leaflet.heat/demo)\n- [Adding points dynamically &rarr;](http://leaflet.github.io/Leaflet.heat/demo/draw.html)\n\n\n## Basic Usage\n\n```js\nvar heat = L.heatLayer([\n\t[50.5, 30.5, 0.2], // lat, lng, intensity\n\t[50.6, 30.4, 0.5],\n\t...\n], {radius: 25}).addTo(map);\n```\n\nTo include the plugin, just use `leaflet-heat.js` from the `dist` folder:\n\n```html\n<script src=\"leaflet-heat.js\"></script>\n```\n\n## Building\nTo build the dist files run:\n```npm install && npm run prepublish```\n\n\n## Reference\n\n#### L.heatLayer(latlngs, options)\n\nConstructs a heatmap layer given an array of points and an object with the following options:\n- **minOpacity** - the minimum opacity the heat will start at\n- **maxZoom** - zoom level where the points reach maximum intensity (as intensity scales with zoom),\n  equals `maxZoom` of the map by default\n- **max** - maximum point intensity, `1.0` by default\n- **radius** - radius of each \"point\" of the heatmap, `25` by default\n- **blur** - amount of blur, `15` by default\n- **gradient** - color gradient config, e.g. `{0.4: 'blue', 0.65: 'lime', 1: 'red'}`\n\nEach point in the input array can be either an array like `[50.5, 30.5, 0.5]`,\nor a [Leaflet LatLng object](http://leafletjs.com/reference.html#latlng).\n\nOptional third argument in each `LatLng` point (`altitude`) represents point intensity.\nUnless `max` option is specified, intensity should range between `0.0` and `1.0`.\n\n\n#### Methods\n\n- **setOptions(options)**: Sets new heatmap options and redraws it.\n- **addLatLng(latlng)**: Adds a new point to the heatmap and redraws it.\n- **setLatLngs(latlngs)**: Resets heatmap data and redraws it.\n- **redraw()**: Redraws the heatmap.\n\n## Changelog\n\n### 0.2.0 &mdash; Oct 26, 2015\n\n- Fixed intensity to work properly with `max` option.\n- Fixed zoom animation on Leaflet 1.0 beta 2.\n- Fixed tiles and point intensity in demos.\n\n#### 0.1.3 &mdash; Nov 25, 2015\n\n- Fixed some edge cases when handling point intensity.\n- Added `minOpacity` option.\n\n#### 0.1.2 &mdash; Nov 5, 2014\n\n- Added compatibility with Leaflet 0.8-dev.\n\n#### 0.1.1 &mdash; Apr 22, 2014\n\n- Fixed overlaying two heatmaps on top of each other.\n- Fixed rare animation issues.\n\n#### 0.1.0 &mdash; Feb 3, 2014\n\n- Added `addLatLng`, `setLatlngs`, `setOptions` and `redraw` methods.\n- Added `max` option and support for different point intensity values (through `LatLng` third argument).\n- Added `gradient` option to customize colors.\n\n#### 0.0.1 &mdash; Jan 31, 2014\n\n- Initial release.\n\n","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"time":{"modified":"2022-06-19T11:16:44.059Z","created":"2014-01-31T16:17:38.880Z","0.0.1":"2014-01-31T16:17:38.880Z","0.1.0":"2014-02-03T13:51:19.148Z","0.1.1":"2014-04-22T09:18:00.492Z","0.1.3":"2014-11-25T18:38:01.712Z","0.2.0":"2015-10-26T16:34:10.260Z"},"readmeFilename":"README.md","homepage":"https://github.com/Leaflet/Leaflet.heat","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"repository":{"type":"git","url":"git://github.com/Leaflet/Leaflet.heat.git"},"author":{"name":"Vladimir Agafonkin"},"bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"}}