Only access the map-controller if we're in map-mode.
Only access the map-controller if we're in map-mode.

KB-473

CopenhagenCityArchives/kbh-billeder,CopenhagenCityArchives/kbh-billeder,CopenhagenCityArchives/kbh-billeder