Added condition to check if the user has entered co-oridantes, this will
determine if the map will be displayed or not