Trying to make the polyline example work.