Commit 5407cb7
committed
Support route origin as geocoding reference point
If available, the route origin is now used as a reference point when
searching for the target of the route.
Since the target search is specifically for the purpose of finding a
point you want to reach from the origin, it is most likely to be the
best reference. This also comes with the advantage of showing an
approximate distance (as the crow flies) of the route.
Closes #29.1 parent ad3c3f8 commit 5407cb7
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| |||
0 commit comments