Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Added TurfMeasurement distance example #1193

Merged
merged 1 commit into from
Sep 3, 2019

Conversation

langsmith
Copy link
Contributor

@langsmith langsmith commented Aug 31, 2019

Resolves #1191 by adding an example of using TurfMeasurement#distance to measure the length of a line.

@pengdev , Turf is a package in our Java SDK , which has Java methods ported over from http://turfjs.org

The list of methods that we've converted, can be found at https://github.com/mapbox/mapbox-java/blob/master/docs/turf-port.md. Once in awhile, we try to work on adding an additional port (https://github.com/mapbox/mapbox-java/pulls?q=is%3Apr+is%3Aopen+label%3ATurf).

Turf-related tickets https://github.com/mapbox/mapbox-java/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+turf

ezgif com-resize

@pengdev
Copy link
Member

pengdev commented Sep 2, 2019

Generally looking good 👍 , I will read more about the turf package.

Copy link
Member

@pengdev pengdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @langsmith for the changes 👍

@langsmith langsmith merged commit cc53fde into master Sep 3, 2019
@langsmith langsmith deleted the ls-turf-line-distance-example branch September 3, 2019 19:32
@langsmith langsmith mentioned this pull request Sep 3, 2019
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add example of measuring line length distance
2 participants