bbecquet

bbecquet/leaflet.polylineoffset

Apply a relative pixel offset to polylines without changing their coordinates.

JavaScript
158
32
MIT License

This plugin extends Leaflet's `Polyline` class to allow drawing lines with a relative pixel offset, enabling visual effects like parallel lines or styled features without altering the original coordinates. It's ideal for developers creating complex map visualizations, such as cycle lanes, bus routes, or emphasized linear features, using Leaflet for interactive mapping. The offset remains consistent across zoom levels and supports both left and right offsets.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the repos that depend on this repository

Top contributors

bbecquet's profile
bbecquet
29 contributions
Sijmen's profile
Sijmen
2 contributions
ghybs's profile
ghybs
2 contributions
jellevoost's profile
jellevoost
2 contributions
BartWaardenburg's profile
BartWaardenburg
1 contributions
sanderd17's profile
sanderd17
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet