{"_id":"@abaccus/leaflet.heatmap","_rev":"1-95635db2a83423194c86ce99a846c5ce","name":"@abaccus/leaflet.heatmap","dist-tags":{"latest":"0.2.5"},"versions":{"0.2.0":{"name":"@abaccus/leaflet.heatmap","version":"0.2.0","description":"A tiny and fast Leaflet heatmap plugin.","homepage":"https://github.com/AssetVal/Leaflet.heatmap","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"authors":["Vladimir Agafonkin","Antonio Bourassa"],"repository":{"type":"git","url":"git://github.com/Leaflet/Leaflet.heat.git"},"main":"dist/leaflet-heat.js","devDependencies":{"eslint":"^8.15.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.26.0","simpleheat":"~0.2.0"},"scripts":{"test":"eslint src","prepublish":"terser node_modules/simpleheat/simpleheat.js src/HeatMap.js -c -m -o dist/leaflet-heatmap.js"},"license":"BSD-2-Clause","gitHead":"6eed5df85c76e2c475369d420815a1d096fe5d26","bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"_id":"@abaccus/leaflet.heatmap@0.2.0","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-ymc5M6bGFaznWuQkjmTjcUJ7aDHGmhWisBCFfPqNRT1KN7Wl6wqOxfJEJthhAABQbWcNDUdyDOZPEt0oZd0Gig==","shasum":"3dab3fa930216071fc3561010ca727b362473b8d","tarball":"https://registry.npmjs.org/@abaccus/leaflet.heatmap/-/leaflet.heatmap-0.2.0.tgz","fileCount":9,"unpackedSize":22757,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGQLHicbf0pv4KRpM4Yalz+3h+zgrsxbhVh7x/XsQ0lYAiBVFSZuv8XPdBwxAQIDSK9WzUMUjwDtC6XE0OA/wBm+hQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifCDBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlnxAAl4+uEve4RtLKA6GhXMcidzW9SZSlvmHjukyhdBVdMTbNetT0\r\nhEnMuvXvG1W4+aMdG+wWE2haIhwLnbahdTKuZERP2sag0BmlR9RCQ3OIaZnq\r\n5ymhbOAc9/38vl5UYRMwDHjkJq6ZhyNqgIhXPGmITIUCkKm3Ck3Z/ImQYMs+\r\npUtelaJJ3vaKgbWUhsnA8N1orVz90TT95TjwSWmh9g/LJgy+ycKiznMd2qZL\r\ntI6UkdG/2VKqz1BsaHXchWO/7mp7XhrBb4n9kugbzlK//RmPycwTdxo08AdI\r\nBlATA8cdOD9j8sYs4FHIzCTOkiWBddwvj+qgcyFOxpTPztUKYzLy+EX8y4+8\r\nZq6wJDaxlwbFxeRZb5yi0CVMC2sivZFt3EJmQFeYh74q9LTgGVHQIELEsFcf\r\n15UQUpyhNnvWxRGe58NC/eEjoZPeaPQvqatCbv/UCYo9Hoybq4I1kKBJDlTT\r\nRqA1LOOEgdrEhSdKFyLz0xscTERfMhYBAGMPSTBoKZdbP/cmb/jwAC19Pt0R\r\nMYf0wl72Bl7WounHhpG+xW7lZ0CVXjCTFCBmwYmavIdZ0Fjtpwy8zkv4b1BA\r\ng0gMb05BXZY0+4hsrHZAHYWB8JsDrqJhEmIcRvjHedZ8ssPYfQKzFhvE4MMy\r\n0FuIlIII35mO2FuMAfLVSehZinC+T9zOCjY=\r\n=zCir\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abaccus","email":"abourassa@assetval.com"},"directories":{},"maintainers":[{"name":"abaccus","email":"abourassa@assetval.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet.heatmap_0.2.0_1652302017726_0.31941046350738644"},"_hasShrinkwrap":false},"0.2.5":{"name":"@abaccus/leaflet.heatmap","version":"0.2.5","description":"A tiny and fast Leaflet heatmap plugin.","homepage":"https://github.com/AssetVal/Leaflet.heatmap","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"authors":["Vladimir Agafonkin","Antonio Bourassa"],"repository":{"type":"git","url":"git://github.com/Leaflet/Leaflet.heat.git"},"main":"dist/leaflet-heat.js","devDependencies":{"eslint":"^8.15.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.26.0","simpleheat":"~0.2.0"},"scripts":{"test":"eslint src","prepublish":"terser node_modules/simpleheat/simpleheat.js src/HeatMap.js --source-map -c -m -o dist/index.js "},"license":"BSD-2-Clause","gitHead":"71cee83b0dfdaad05d275c0d517dc8919d84d2bf","bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"_id":"@abaccus/leaflet.heatmap@0.2.5","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-EW9RHQ8BnL9MellF2K8nv7N0Ue/RUHRWNETE/2hKZXRTXVxozoTpnvTcvrf2QKePUe1ZSYqJO+Tv3U5L07AqBg==","shasum":"03c7541d57648aeafbe0a94605a2a0320d0e42c1","tarball":"https://registry.npmjs.org/@abaccus/leaflet.heatmap/-/leaflet.heatmap-0.2.5.tgz","fileCount":10,"unpackedSize":30604,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4E6J90TQ2pild2/URyK8dyVwcGXGx0P3kWCgiZ6qzRAIgcOy6P+NHfQJcTK9rd5tV9x9b6QqkSlTQDUbj1a6aZBc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifCGzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqyFQ//cz7vA5ocLTA0bAAJvqHlSU9gYJ/Kfr62CcdLlDGgsWRP6PUV\r\n8t5BMmfzm1RbfIoAzSqvrUKvGuOg4s7VgbjXGdFiJ1uFR5+CTvm6mj61KPAv\r\npKaNCnueJh5slXyxyp0MIxRsz1qcIWJXjHbkiCGPwjogwnK9kPvD6CAasB9z\r\nKUdImAIXAWSUu4OjReZLvFcj4sBQIaII/PHgxjDfTPz7dwTpXgAKAhdnirM3\r\nsmym+tldk/iNgNHXkmE45Zx1riyvjuEDLu/ffA6hFTJpdhZvGT2DiWBoGsUW\r\nCLQepYSekdOHe2V2Bdj9tdzICNJfvkXv5cEZKe7I1Pfwtxt3JiCOCaPqQzvD\r\nWrtiqssudTMffV9QaR2xnC9R/e5WRcLKTQLnkO0d6Vdo/4R2aHLCuivtLgSs\r\n1zjPP+TimcU/ziobrFlpoPTgeT6MnaB8LXDQrfCzrC84gW0llRhw2znfIUJc\r\n6N9W/4cnKstl3xVD+fisMw344MBYxayhhxL+bz2Dj/a/BtwJsCdw2WxMEPlt\r\n37zhFI5s839wwclbGJsXEpV/D4yXlHAnz7pGAKBG/B8O9OM/2Z+fK3bEJlDS\r\nRU18kiltQYBhZwlwkivmb9pGaSMRWbAqsiAC7X3wWF8oE9pJWIip6k+iu/lq\r\nvYpHJ/lpQy5YqXs2E4gs7SS/rSJlElIiUi8=\r\n=TazX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abaccus","email":"abourassa@assetval.com"},"directories":{},"maintainers":[{"name":"abaccus","email":"abourassa@assetval.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet.heatmap_0.2.5_1652302258855_0.015713567762893677"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-11T20:46:57.670Z","0.2.0":"2022-05-11T20:46:57.898Z","modified":"2022-05-11T20:50:59.192Z","0.2.5":"2022-05-11T20:50:59.097Z"},"maintainers":[{"name":"abaccus","email":"abourassa@assetval.com"}],"description":"A tiny and fast Leaflet heatmap plugin.","homepage":"https://github.com/AssetVal/Leaflet.heatmap","keywords":["heatmap","canvas","visualization","gis","leaflet","plugin"],"repository":{"type":"git","url":"git://github.com/Leaflet/Leaflet.heat.git"},"bugs":{"url":"https://github.com/Leaflet/Leaflet.heat/issues"},"license":"BSD-2-Clause","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","readmeFilename":"README.md"}