leaflet-heatmap-radius

0.0.3 • Public • Published

leaflet-heatmap-radius NPM version NPM Downloads

A plugin for heatmap.js to add heatmaps to leaflet, with a fixed radius option (meters).

This is an enhanced version of leaflet-heatmap which provides an additional radiusMeters option, so you can have a heatmap with a concrete, known radius.

example

let heatmap = new HeatmapOverlay({
  fixedRadius: true, // enable use of meters instead of pixels
  radiusMeters: 100  // set the radius value in meters
});

License

MIT License (MIT)

Package Sidebar

Install

npm i leaflet-heatmap-radius

Weekly Downloads

4

Version

0.0.3

License

MIT

Unpacked Size

33.3 kB

Total Files

7

Last publish

Collaborators

  • danwild