If it's a dogleg then it's not actually 342 to the green. It's 342 from the tee box to the center of the fairway at the dogleg to the center of the green. I assume you know this, but just so you don't think you hit the ball 342 yards. lol
Great shot nonetheless. It'd be hard to tell actually how far it is from the teebox to the green without actually seeing the hole.