Skip to content

Commit

Permalink
Invert lat(y) lon(x)
Browse files Browse the repository at this point in the history
  • Loading branch information
bettellam authored and nyalldawson committed Aug 7, 2024
1 parent 913b2a8 commit 2b27f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/gps/qgsgpsinformationwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ void QgsGpsInformationWidget::displayGPSInformation( const QgsGpsInformation &in
QgsCoordinateUtils::formatCoordinatePartsForProject( QgsProject::instance(), QgsPointXY( info.longitude, info.latitude ),
QgsCoordinateReferenceSystem(), 8, formattedX, formattedY );

mTxtLatitude->setText( formattedX );
mTxtLongitude->setText( formattedY );
mTxtLatitude->setText( formattedY );
mTxtLongitude->setText( formattedX );

mTxtAltitude->setText( tr( "%1 m" ).arg( info.elevation, 0, 'f', 3 ) );
mTxtAltitudeDiff->setText( tr( "%1 m" ).arg( info.elevation_diff, 0, 'f', 3 ) );
Expand Down

0 comments on commit 2b27f0c

Please sign in to comment.