Skip to content

Create leaflet Polylines with colored gradients. Provides accurate colored gradients and Typescript support.

License

Notifications You must be signed in to change notification settings

peacefulotter/react-leaflet-hotline

Repository files navigation

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

About

Create leaflet Polylines with colored gradients. Provides accurate colored gradients and Typescript support.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published