move polyline to a global-ish object so we can mutate the properties on that instead of having them sit in a route object