use setPath not setData for polylines