Update BySegment.js

Fix ModifyFeature BySegment to handle LineStrings
Merge pull request #1315 from dr-jts/patch-2

Update BySegment.js