https://github.com/danwild/leaflet-heatmap-radius
A plugin for heatmap.js to add heatmaps to leaflet, with a fixed radius option (meters).
https://github.com/danwild/leaflet-heatmap-radius
heatmap leaflet leaflet-plugins visualization vizualisation
Last synced: 12 months ago
JSON representation
A plugin for heatmap.js to add heatmaps to leaflet, with a fixed radius option (meters).
- Host: GitHub
- URL: https://github.com/danwild/leaflet-heatmap-radius
- Owner: danwild
- License: other
- Created: 2018-07-23T22:30:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T22:13:01.000Z (over 7 years ago)
- Last Synced: 2024-09-30T06:39:50.240Z (over 1 year ago)
- Topics: heatmap, leaflet, leaflet-plugins, visualization, vizualisation
- Language: JavaScript
- Size: 45.9 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# leaflet-heatmap-radius [![NPM version][npm-image]][npm-url] [![NPM Downloads][npm-downloads-image]][npm-url]
A plugin for heatmap.js to add heatmaps to leaflet, with a fixed radius option (meters).
This is an enhanced version of
[leaflet-heatmap](https://www.patrick-wied.at/static/heatmapjs/example-heatmap-leaflet.html) which provides an
additional `radiusMeters` option, so you can have a heatmap with a concrete, known radius.
## example
```javascript
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)
[npm-image]: https://badge.fury.io/js/leaflet-heatmap-radius.svg
[npm-url]: https://www.npmjs.com/package/leaflet-heatmap-radius
[npm-downloads-image]: https://img.shields.io/npm/dt/leaflet-heatmap-radius.svg