Creates a polyline from the given list of coordinates on the given floor
the list of coordinates that form the line
the id for the floor