Closed gregallensworth closed 7 years ago
The structure now includes metadata (a properties
on the document itself) of the actual and desired starting and ending points, the distance from the requested points and trail points, and the total mileage. This is documented in the code, and the demo shows their usage in Leaflet.
Relevant to #13 one of the UI items depicted, is that when one finds the nearest segment to the starting and ending latlngs, they will also want to know how far away they are from the trail/route.
As long as we're at it, other obvious metadata to add...
properties
attribute on the document itself) describing the route.