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

Adding straight line Turf distance measurement ("as the crow flies") example #1289

Merged
merged 1 commit into from
Jan 22, 2020

Conversation

langsmith
Copy link
Contributor

This pr adds a new example that shows how to use Turf distance to calculate a straight line distance ("as the crow flies") between the device location and the map camera's target. This example is inspired by what @kmadsen and I saw in a Japanese navigation company's turn-by-turn app experience (cc @mapbox/navigation-android )

ezgif com-resize

Copy link
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

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

cool usage of turf!

@langsmith langsmith merged commit 0a1dcda into master Jan 22, 2020
@langsmith langsmith deleted the ls-as-the-crow-flies-line-example branch January 22, 2020 18:03
@langsmith langsmith mentioned this pull request Mar 2, 2020
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.

2 participants