no runtime deps, only dev
Add tests
Add distances for each leg to the story view
check for layer being a polyline before asking for distance