Added functions to produce places request functions from polyline and distance from polyline