react-leaflet-hotline
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

react-leaflet-hotline

Create colored gradient Polylines in react-leaflet

📝 Documentation, Examples and Live playground here 🎨

⚠️ 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, ...)
  • Ultra lightweight: <10kB

/react-leaflet-hotline/

    Package Sidebar

    Install

    npm i react-leaflet-hotline

    Weekly Downloads

    83

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    52.7 kB

    Total Files

    42

    Last publish

    Collaborators

    • peacefulotter