Skip to content

Fix line slice#417

Merged
morganherlocker merged 4 commits intoTurfjs:masterfrom
camilleanne:fix-line-slice
Jun 17, 2016
Merged

Fix line slice#417
morganherlocker merged 4 commits intoTurfjs:masterfrom
camilleanne:fix-line-slice

Conversation

@camilleanne
Copy link
Copy Markdown
Contributor

Fixes #415 by removing a version of pointOnLine and requiring the module'd version of the function instead.

Also fixes a small bug in turf-point-on-line where the coordinates were not being set correctly if the object was a LineString instead of a complete Feature.

cc @morganherlocker

@morganherlocker
Copy link
Copy Markdown
Member

👍 Looks great

@morganherlocker
Copy link
Copy Markdown
Member

Added test case:

screenshot 2016-06-17 11 49 17

@morganherlocker morganherlocker merged commit 63d2ac1 into Turfjs:master Jun 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use turf-point-on-line in turf-line-slice

2 participants