how to get lat lng from the device