get location coordinate, date for locationhisotry