Finished map switching functionality