Skip to content

gijs/Leaflet.heat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Leaflet.heat

A tiny, simple and fast Leaflet heatmap plugin. Uses simpleheat under the hood, additionally clustering points into a grid for performance.

Demo (10,000 points) →

Basic Usage

L.heatLayer(latlngs, {radius: 25}).addTo(map);

Including the plugin

<script src="simpleheat.js"></script>
<script src="leaflet-heat.js"></script>

Reference

L.heatLayer(latlngs, options);

Constructs a heatmap layer given an array of LatLng points and an object with the following options:

  • maxZoom - zoom level where the points reach maximum intensity (as intensity scales with zoom), equals maxZoom of the map by default
  • radius - radius of each "point" of the heatmap, 25 by default
  • blur - amount of blur, 15 by default

About

A tiny, simple and fast heatmap plugin for Leaflet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published