Assume a latitude, longitude order for Polyline format

Fixes #2901
This looks good to me and should be consistent with the example at https://developers.google.com/maps/documentation/utilities/polylinealgorithm. I'm surprised that it was different before since I am pretty sure to have used the exact example from that page when I implemented it.