Map-based controller