JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 191
  • Score
    100M100P100Q82755F
  • License MIT

Ported Leaflet.Hotline to React and Typescript. Create leaflet Polylines with colored gradients

Package Exports

  • react-leaflet-hotline

Readme

License:MIT npm GitHub last commit npm package minimized gzipped size (select exports) Netlify Status GitHub stars

react-leaflet-hotline

Create colored gradient Polylines in react-leaflet


This is not just a port from L.hotline, but mostly a rewrite to make gradient colors accurate. L.Hotline suffers from colors changing when moving around and zooming in and out - this package aims to fix it as well.

  • Typescript support
  • Both standalone Component and Hook available
  • Highly customizable
  • Supports all leaflet events (click, mouseover, mouseout, ...)