added polyline drawing between points