Enhancement to allow definition of polyline options