Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 599 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 599 Bytes

leaflet-heat-es

A modular heatmap plugin for Leaflet. Modified from leaflet.heat

Quick Start

import { heatLayer } from 'leaflet-heat-es';

const map = #leaflet map instance#;

const points = [
  [50.5, 30.5, 0.2], // lat, lng, intensity
  [50.6, 30.4, 0.5],
  ...
];

const heat = heatLayer(points);
heat.addTo(map);

Demo