stepGeometryToLineString

fun DirectionsRoute.stepGeometryToLineString(legStep: LegStep): LineString

Decodes geometry of a LegStep in a DirectionsRoute to a LineString and caches the result. No decoding is performed if there is already a cached result available.

Return

decoded LineString

Parameters

legStep

of an encoded geometry