Skip to content

Conversation

@claustres
Copy link

Fix for issue #2893.

The code has been changed from what has been suggested first in comment to use internal turfjs functions like destination.

Tests have been added for the randomLineString function as they did not exist previously.

For coherence with the randomPolygon function of the same package I suggest that the max_rotation option should be given in decimal degrees as well. This is also more coherent with the internal use of destination requiring a bearing angle in degrees.

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.

1 participant