bbecquet / Leaflet.PolylineOffset

Apply a relative pixel offset to polylines without changing their coordinates.
MIT License
152 stars 32 forks source link

The rounding applied to some angles appears off #4

Closed bbecquet closed 7 years ago

bbecquet commented 10 years ago

Fix the algo. The interpolated points needs to be set evenly between the two extremities.