Enter a polyline that is encoded using the Google Maps polyline encoding algorithm. You can get the encoded polyline from the NextBillion.ai Directions API. To get the encoded polyline from the Routes API, you need to set the polylineEncoding
parameter to ENCODED_POLYLINE
.
The special characters in the encoded polylines returned in JSON responses of the Directions API are escaped. You do not need to escape them or unescape them before using this tool.