{"_id":"@daishu10000/leaflet-heat","_rev":"6-5500b3b4c3412ea84ff1f6521c3c4cd3","name":"@daishu10000/leaflet-heat","dist-tags":{"latest":"0.3.3"},"versions":{"0.2.1":{"name":"@daishu10000/leaflet-heat","version":"0.2.1","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"Vladimir Agafonkin"},"license":"BSD-2-Clause","_id":"@daishu10000/leaflet-heat@0.2.1","maintainers":[{"name":"daishu10000","email":"daishu10000@gmail.com"}],"homepage":"https://github.com/Leaflet/Leaflet.heat","bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"dist":{"shasum":"870cf27e852208ffd032133e3c39384cf907c0f0","tarball":"https://registry.npmjs.org/@daishu10000/leaflet-heat/-/leaflet-heat-0.2.1.tgz","fileCount":8,"integrity":"sha512-80nAHTgM9qy7SShD6QLwyK1rIgUdz8N7faLDcJrk9i0gvHWqgRv4WwdmhcYyMONGAWaO2RXMnjOSAcH8Nfr3bQ==","signatures":[{"sig":"MEYCIQD7Smv9jTspGK7jPdmZBz6EKymujMzhaWfyTIF/MKqOjAIhAKuesIKIriMXsYLRSecYC2ByEGQ5w+b687ZELPy83ATO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25475},"main":"dist/leaflet-heat.js","gitHead":"fa5cc990a8331521f76bce3e81f3de9a6da48cd4","scripts":{"test":"eslint src","prepublish":"uglifyjs node_modules/simpleheat/simpleheat.js src/HeatLayer.js -c -m -o dist/leaflet-heat.js"},"_npmUser":{"name":"daishu10000","email":"daishu10000@gmail.com"},"repository":{"url":"git://github.com/Leaflet/Leaflet.heat.git","type":"git"},"_npmVersion":"11.9.0","description":"A tiny and fast Leaflet heatmap plugin (community bugfix fork).","directories":{},"_nodeVersion":"22.14.0","eslintConfig":{"extends":"mourner","globals":{"L":false,"simpleheat":false}},"jshintConfig":{"curly":true,"undef":true,"eqeqeq":true,"nonbsp":true,"unused":true,"browser":true,"globals":{"L":true,"simpleheat":true},"noempty":true,"quotmark":"single","trailing":true,"camelcase":true},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^1.7.3","uglify-js":"^2.5.0","simpleheat":"~0.4.0","eslint-config-mourner":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/leaflet-heat_0.2.1_1771572381988_0.18828220233140613","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@daishu10000/leaflet-heat","version":"0.2.2","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"Vladimir Agafonkin"},"license":"BSD-2-Clause","_id":"@daishu10000/leaflet-heat@0.2.2","maintainers":[{"name":"daishu10000","email":"daishu10000@gmail.com"}],"homepage":"https://github.com/Leaflet/Leaflet.heat","bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"dist":{"shasum":"649fb676755d96a452bde5e81ce5b09f7b332a3e","tarball":"https://registry.npmjs.org/@daishu10000/leaflet-heat/-/leaflet-heat-0.2.2.tgz","fileCount":7,"integrity":"sha512-8VsJOXOoiOhcEJgfN8mX75WbAxU3liRinFAkd7lD45xQuFHYdGNflyXDopFW9lBc8imqeEL04d14HWaUcTTryg==","signatures":[{"sig":"MEQCIHWhppHeuoaDNYPT8gAsin1mqNXNeAVnnA2DHyV4EFHJAiBix70eyAHSDVVwcnKxJaIATunnbL7U+aiD01uDCWNXaA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21325},"main":"dist/leaflet-heat.js","gitHead":"5d5c6b35db815e1827bb767404543450186e98e9","scripts":{"test":"eslint src","prepublish":"uglifyjs node_modules/simpleheat/simpleheat.js src/HeatLayer.js -c -m -o dist/leaflet-heat.js"},"_npmUser":{"name":"daishu10000","email":"daishu10000@gmail.com"},"repository":{"url":"git://github.com/Leaflet/Leaflet.heat.git","type":"git"},"_npmVersion":"11.9.0","description":"A tiny and fast Leaflet heatmap plugin (community bugfix fork).","directories":{},"_nodeVersion":"22.14.0","eslintConfig":{"extends":"mourner","globals":{"L":false,"simpleheat":false}},"jshintConfig":{"curly":true,"undef":true,"eqeqeq":true,"nonbsp":true,"unused":true,"browser":true,"globals":{"L":true,"simpleheat":true},"noempty":true,"quotmark":"single","trailing":true,"camelcase":true},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^1.7.3","uglify-js":"^2.5.0","simpleheat":"~0.4.0","eslint-config-mourner":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/leaflet-heat_0.2.2_1771606569726_0.23429113548325886","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@daishu10000/leaflet-heat","version":"0.3.0","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"daishu0000"},"license":"BSD-2-Clause","_id":"@daishu10000/leaflet-heat@0.3.0","maintainers":[{"name":"daishu10000","email":"daishu10000@gmail.com"}],"homepage":"https://github.com/daishu0000/Leaflet.heat","bugs":{"url":"https://github.com/daishu0000/Leaflet.heat/issues"},"dist":{"shasum":"bacb454a0991a5722c9b3843ce4c14731e626419","tarball":"https://registry.npmjs.org/@daishu10000/leaflet-heat/-/leaflet-heat-0.3.0.tgz","fileCount":10,"integrity":"sha512-eFc4q5HKAtr8jRebOCZ7XcmqmUtP/7Mrgs/KIovCvxUmGeORrtEmcfT5pu83K6FEt9DcVFXv2v4VUvj+vzTHKg==","signatures":[{"sig":"MEQCIE54aF/3yCVG3j1tK9e0r5pImdlGak6gVOZh7hnkFcNZAiBWO5KPvvPuUQM4wFOHG0Tl71WteXbSWqkO6CXCjmNk8A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26183},"main":"dist/leaflet-heat.js","type":"module","engines":{"node":">=18"},"exports":{".":{"import":"./dist/leaflet-heat.js","default":"./dist/leaflet-heat.js","require":"./dist/leaflet-heat.js"}},"gitHead":"0ab493a467b745e8575f132ee41c353aeea943eb","scripts":{"test":"eslint src","build":"rollup -c","prepublishOnly":"npm run build"},"_npmUser":{"name":"daishu10000","email":"daishu10000@gmail.com"},"repository":{"url":"git://github.com/daishu0000/Leaflet.heat.git","type":"git"},"_npmVersion":"11.9.0","description":"A tiny and fast Leaflet heatmap plugin (community bugfix fork).","directories":{},"_nodeVersion":"22.14.0","eslintConfig":{"env":{"es2022":true,"browser":true},"extends":"eslint:recommended","globals":{"L":"readonly","simpleheat":"writable"}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.0.0","rollup":"^4.0.0","@rollup/plugin-terser":"^0.4.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet-heat_0.3.0_1771650206095_0.01736019397542843","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@daishu10000/leaflet-heat","version":"0.3.1","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"daishu0000"},"license":"BSD-2-Clause","_id":"@daishu10000/leaflet-heat@0.3.1","maintainers":[{"name":"daishu10000","email":"daishu10000@gmail.com"}],"homepage":"https://github.com/daishu0000/Leaflet.heat","bugs":{"url":"https://github.com/daishu0000/Leaflet.heat/issues"},"dist":{"shasum":"b3467849b86a5ee91c894c8618f84f6620f7b2a8","tarball":"https://registry.npmjs.org/@daishu10000/leaflet-heat/-/leaflet-heat-0.3.1.tgz","fileCount":10,"integrity":"sha512-3/12G10FaX8IC1UncL86jj/OwG1A55FO8SklIzYW9hsXjDQTsf/fdpkmZLJqAVqk6r1ay1g/r9tjIE2Nqa0eMg==","signatures":[{"sig":"MEUCIQCafKM6mH9TkO46+UCvEqQxpwjC3pWEX3o2HXT1mPCUpQIgaphOP6DXYJwlWjnmU0USi2lAYanaCPYZvZPwyVNfXrU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27249},"main":"dist/leaflet-heat.js","type":"module","engines":{"node":">=18"},"exports":{".":{"import":"./dist/leaflet-heat.js","default":"./dist/leaflet-heat.js","require":"./dist/leaflet-heat.js"}},"gitHead":"0ab493a467b745e8575f132ee41c353aeea943eb","scripts":{"test":"eslint src","build":"rollup -c","prepublishOnly":"npm run build"},"_npmUser":{"name":"daishu10000","email":"daishu10000@gmail.com"},"repository":{"url":"git://github.com/daishu0000/Leaflet.heat.git","type":"git"},"_npmVersion":"11.9.0","description":"A tiny and fast Leaflet heatmap plugin (community bugfix fork).","directories":{},"_nodeVersion":"22.14.0","eslintConfig":{"env":{"es2022":true,"browser":true},"extends":"eslint:recommended","globals":{"L":"readonly","simpleheat":"writable"}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.0.0","rollup":"^4.0.0","@rollup/plugin-terser":"^0.4.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet-heat_0.3.1_1771653578202_0.782734951060067","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@daishu10000/leaflet-heat","version":"0.3.2","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"daishu0000"},"license":"BSD-2-Clause","_id":"@daishu10000/leaflet-heat@0.3.2","maintainers":[{"name":"daishu10000","email":"daishu10000@gmail.com"}],"homepage":"https://github.com/daishu0000/Leaflet.heat","bugs":{"url":"https://github.com/daishu0000/Leaflet.heat/issues"},"dist":{"shasum":"83704b25343515c85cacaeeac5181b1e05141ae7","tarball":"https://registry.npmjs.org/@daishu10000/leaflet-heat/-/leaflet-heat-0.3.2.tgz","fileCount":11,"integrity":"sha512-qTAqAacGFxZ/N9CYQ8GyqMydgcP9P9ZDGFTg7GF6vGnEmBhUxzLCze0CbEl8iX/iFIFiVXbk0oPdfaBrY8NX2g==","signatures":[{"sig":"MEUCIQD2U+f2qjfSoz1HO1+qOFVH6nW20cj092fr0Xf0GwgSlwIga5VbD3DkT3Ku/mTqVJGYdeLfmk+3Vw3GOwyfUw4CygI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27661},"main":"dist/leaflet-heat.js","type":"module","engines":{"node":">=18"},"exports":{".":{"import":"./dist/leaflet-heat.js","default":"./dist/leaflet-heat.js","require":"./dist/leaflet-heat.js"}},"gitHead":"7e2f03255388ccdcd5c153d0aaa984d56abfe42d","scripts":{"test":"eslint src","build":"rollup -c","prepublishOnly":"npm run build"},"_npmUser":{"name":"daishu10000","email":"daishu10000@gmail.com"},"repository":{"url":"git://github.com/daishu0000/Leaflet.heat.git","type":"git"},"_npmVersion":"11.9.0","description":"A tiny and fast Leaflet heatmap plugin (community bugfix fork).","directories":{},"_nodeVersion":"22.14.0","eslintConfig":{"env":{"es2022":true,"browser":true},"extends":"eslint:recommended","globals":{"L":"readonly","simpleheat":"writable"}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.1","rollup":"^4.0.0","globals":"^17.3.0","@eslint/js":"^10.0.1","@rollup/plugin-terser":"^0.4.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet-heat_0.3.2_1771654585255_0.28727497540343583","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@daishu10000/leaflet-heat","version":"0.3.3","type":"module","description":"A tiny and fast Leaflet heatmap plugin (community bugfix fork).","homepage":"https://github.com/daishu0000/Leaflet.heat","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"author":{"name":"daishu0000"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/daishu0000/Leaflet.heat.git"},"main":"dist/leaflet-heat.js","scripts":{"build":"rollup -c","test":"eslint src","prepublishOnly":"npm run build"},"devDependencies":{"@eslint/js":"^10.0.1","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^16.0.0","@rollup/plugin-terser":"^0.4.0","eslint":"^10.0.1","globals":"^17.3.0","rollup":"^4.0.0"},"engines":{"node":">=18"},"exports":{".":{"import":"./dist/leaflet-heat.js","require":"./dist/leaflet-heat.js","default":"./dist/leaflet-heat.js"}},"eslintConfig":{"extends":"eslint:recommended","env":{"browser":true,"es2022":true},"globals":{"L":"readonly","simpleheat":"writable"}},"gitHead":"c069492f0063331fd5a2400611d6b39fe5952cd5","_id":"@daishu10000/leaflet-heat@0.3.3","bugs":{"url":"https://github.com/daishu0000/Leaflet.heat/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-hqBFhpswwmT+/Rysu92rtStXb+c58RYqZ84WqvAN3EELG8eIjQe24W1KOAU4f08GclL2Gjmwe+X9TeTJH1STkg==","shasum":"2b96de0eaa68df19be43a5750d8fef25ecab2cf6","tarball":"https://registry.npmjs.org/@daishu10000/leaflet-heat/-/leaflet-heat-0.3.3.tgz","fileCount":11,"unpackedSize":27624,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAfOkPRpnHIMXczYSgD8gCULDcDblIaL48drjK64RyBdAiA6JF5Z5EylZKTA8FSHq92gUoHkyfAYa+dm6GGXWnwmZg=="}]},"_npmUser":{"name":"daishu10000","email":"daishu10000@gmail.com"},"directories":{},"maintainers":[{"name":"daishu10000","email":"daishu10000@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/leaflet-heat_0.3.3_1771656965858_0.848764732615551"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-20T07:26:21.854Z","modified":"2026-02-21T06:56:06.124Z","0.2.1":"2026-02-20T07:26:22.175Z","0.2.2":"2026-02-20T16:56:09.877Z","0.3.0":"2026-02-21T05:03:26.253Z","0.3.1":"2026-02-21T05:59:38.333Z","0.3.2":"2026-02-21T06:16:25.400Z","0.3.3":"2026-02-21T06:56:06.004Z"},"bugs":{"url":"https://github.com/daishu0000/Leaflet.heat/issues"},"author":{"name":"daishu0000"},"license":"BSD-2-Clause","homepage":"https://github.com/daishu0000/Leaflet.heat","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"repository":{"type":"git","url":"git://github.com/daishu0000/Leaflet.heat.git"},"description":"A tiny and fast Leaflet heatmap plugin (community bugfix fork).","maintainers":[{"name":"daishu10000","email":"daishu10000@gmail.com"}],"readme":"Leaflet.heat\r\n==========\r\n\r\nA tiny, simple and fast [Leaflet](http://leafletjs.com) heatmap plugin (community bugfix fork).\r\nUses [simpleheat](https://github.com/mourner/simpleheat) under the hood,\r\nadditionally clustering points into a grid for performance.\r\n\r\n- **Package**: [@daishu10000/leaflet-heat](https://www.npmjs.com/package/@daishu10000/leaflet-heat)\r\n- **Homepage**: https://github.com/daishu0000/Leaflet.heat\r\n- **License**: BSD-2-Clause\r\n\r\n\r\n## Demos\r\n\r\n- [10,000 points &rarr;](http://leaflet.github.io/Leaflet.heat/demo)\r\n- [Adding points dynamically &rarr;](http://leaflet.github.io/Leaflet.heat/demo/draw.html)\r\n\r\n\r\n## Basic Usage\r\n\r\n```js\r\nvar heat = L.heatLayer([\r\n\t[50.5, 30.5, 0.2], // lat, lng, intensity\r\n\t[50.6, 30.4, 0.5],\r\n\t...\r\n], {radius: 25}).addTo(map);\r\n```\r\n\r\nTo include the plugin, just use `leaflet-heat.js` from the `dist` folder:\r\n\r\n```html\r\n<script src=\"leaflet-heat.js\"></script>\r\n```\r\n\r\n## Building\r\nTo build the dist files run:\r\n```npm install && npm run prepublish```\r\n\r\n\r\n## Reference\r\n\r\n#### L.heatLayer(latlngs, options)\r\n\r\nConstructs a heatmap layer given an array of points and an object with the following options:\r\n- **minOpacity** - the minimum opacity the heat will start at\r\n- **maxZoom** - zoom level where the points reach maximum intensity (as intensity scales with zoom),\r\n  equals `maxZoom` of the map by default\r\n- **max** - maximum point intensity, `1.0` by default\r\n- **radius** - radius of each \"point\" of the heatmap, `25` by default\r\n- **blur** - amount of blur, `15` by default\r\n- **gradient** - color gradient config, e.g. `{0.4: 'blue', 0.65: 'lime', 1: 'red'}`\r\n- **pane** - Map pane where the heat will be drawn. Defaults to 'overlayPane'.\r\n\r\nEach point in the input array can be either an array like `[50.5, 30.5, 0.5]`,\r\nor a [Leaflet LatLng object](http://leafletjs.com/reference.html#latlng).\r\n\r\nOptional third argument in each `LatLng` point (`altitude`) represents point intensity.\r\nUnless `max` option is specified, intensity should range between `0.0` and `1.0`.\r\n\r\n\r\n#### Methods\r\n\r\n- **setOptions(options)**: Sets new heatmap options and redraws it.\r\n- **addLatLng(latlng)**: Adds a new point to the heatmap and redraws it.\r\n- **setLatLngs(latlngs)**: Resets heatmap data and redraws it.\r\n- **redraw()**: Redraws the heatmap.\r\n\r\n## Changelog\r\n\r\nThis fork is maintained from version 0.2.1 onward. For 0.2.0 and earlier, see the [upstream repository](https://github.com/Leaflet/Leaflet.heat).\r\n\r\n### 0.2.1 &mdash; Feb 20, 2026\r\n- Fix crash when map and heat use different Leaflet instances.\r\n\r\n### 0.2.2 &mdash; Feb 21, 2026\r\n- A better max setting.\r\n\r\n### 0.3.0 &mdash; Feb 21, 2026\r\n- Use the newest version of simpleheat.js and modernize the environment.\r\n\r\n### 0.3.1 &mdash; Feb 21, 2026\r\n- Update the license.\r\n\r\n### 0.3.2 &mdash; Feb 21, 2026\r\n- Update eslint.\r\n\r\n### 0.3.3 &mdash; Feb 21, 2026\r\n- Update README.md.\r\n","readmeFilename":"README.md"}