DecodeUtils
Provides utilities to decode geometries of DirectionsRoutes and LegSteps. Results are cached for geometries of up to 3 DirectionsRoutes.
Functions
Decodes geometry of a DirectionsRoute to a LineString and caches the result. No decoding is performed if there is already a cached result available.
Decodes geometry of a DirectionsRoute to a List of Points and caches the result. No decoding is performed if there is already a cached result available.
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.
Decodes geometry of a LegStep in a DirectionsRoute to a List of Points and caches the result. No decoding is performed if there is already a cached result available.
Decodes geometries of all LegSteps in a DirectionsRoute to LineStrings and caches the results. No decoding is performed for LegSteps, that already have a cached result available.