Skip to content

Commit

Permalink
fix swapped coordinates in apps/ios/GuideDogs/Code/Data/Models/JSON P…
Browse files Browse the repository at this point in the history
…arsing/OSM/GeoJsonGeometry.swift (soundscape-community#85)
  • Loading branch information
RDMurray authored Mar 14, 2024
1 parent 369c881 commit c0cd985
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}


Expand Down

0 comments on commit c0cd985

Please sign in to comment.