use mapmode as initial state for the LocateActivity