DecodeUtils
Provides utilities to decode geometries of DirectionsRoutes and LegSteps. Results are cached up to COMPLETE_GEOMETRY_CACHE_MAX_POINTS / STEPS_GEOMETRY_CACHE_MAX_POINTS decoded Points respectively.
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.