Partial fix for issue #1
Partial fix for issue #1

* Implemented (part of) the fix as @obi068 suggested

* Fixed bugs introduce in commit 422b577; Initial initial PR#13 created by @BartWaardenburg should be re-reviewed such that it can be merged in Leaflet.PolylineOffset code

bbecquet/Leaflet.PolylineOffset