Added request handling for polylines