From c0cd985652e3c9540e639964fafaa1bf1a60a6d3 Mon Sep 17 00:00:00 2001 From: RDMurray Date: Thu, 14 Mar 2024 21:10:16 +0000 Subject: [PATCH] fix swapped coordinates in apps/ios/GuideDogs/Code/Data/Models/JSON Parsing/OSM/GeoJsonGeometry.swift (#85) --- .../Code/Data/Models/JSON Parsing/OSM/GeoJsonGeometry.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ios/GuideDogs/Code/Data/Models/JSON Parsing/OSM/GeoJsonGeometry.swift b/apps/ios/GuideDogs/Code/Data/Models/JSON Parsing/OSM/GeoJsonGeometry.swift index e370ace9..7f021d33 100644 --- a/apps/ios/GuideDogs/Code/Data/Models/JSON Parsing/OSM/GeoJsonGeometry.swift +++ b/apps/ios/GuideDogs/Code/Data/Models/JSON Parsing/OSM/GeoJsonGeometry.swift @@ -318,7 +318,7 @@ public enum GeoJsonGeometry: Equatable, Codable { extension GeoJsonGeometry { private static func into_coord_pair(_ coord: CLLocationCoordinate2D) -> [CLLocationDegrees] { - return [coord.latitude, coord.longitude] + return [coord.longitude, coord.latitude] }