Polyline Gaps

For #2136.

CC @shunter @mramato 
Not used anymore.