Hello. I have a polyline encoded string from multiple locations and I need to know how can it be properly used with distance parameter in a request to the v3 API. I meean I do not know what is the source point from which the distance will be calculate to get the EVs: start point of the polyline, end point of the polyline, any point along the polyline? I need some details to understand.
For a polyline we assume it’s a route (not a polygon, you can do search polygons as well). We then take the list of points and expand them into a new polygon that covers the line + the distance around the line. So if you search along a polyline with a distance of 5km behind the scenes you end up with a search polygon up to 10km wide, we then return points within the search polygon.