Detect closest location