fun DirectionsRoute.stepsGeometryToPoints(): List<List<List<Point>>>

Decodes geometries of all LegSteps in a DirectionsRoute to Lists of Points and caches the results. No decoding is performed for LegSteps, that already have a cached result available.


decoded Lists of Points. The resulting collection is a nested list of:

[ legs
[ steps
{ step's geometry decoded to a list of points }