Controller for map