hide directions button when there isn't a route yet. clean up duplicate 'meters per mile' constant