latitudeDirection should've been longitudeDirection here.

Coordinates were being formatted as say "37° N, 120° N" which should've been "37° N, 120° W".