extract variable

extract variables isAddRoute, isGetDistance, isExit.