Mapping location logic