decodeOrNull
Decode an encoded polyline string to a list of positions, returning null if the string is malformed or truncated.
Return
the decoded list of Position objects, or null if decoding fails
Parameters
encoded
the encoded polyline string
precision
the number of decimal digits used during encoding (e.g. 5 for the standard Google precision)