added “map location function”