Moved Polyline logic into Raindance