From 937470eeb24c7cdc4a8f8e5bad19a1ef4576f4b1 Mon Sep 17 00:00:00 2001 From: Constantin Shalnev Date: Tue, 1 Dec 2015 15:05:38 +0300 Subject: [PATCH] Fixed lat lon of gps point --- map/framework.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map/framework.cpp b/map/framework.cpp index e755fe99c5..34266a93b0 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -145,7 +145,7 @@ void Framework::OnLocationUpdate(GpsInfo const & info) if (m_gpsTrackingEnabled) { - m2::PointD const point = MercatorBounds::FromLatLon(ms::LatLon(info.m_latitude, info.m_latitude)); + m2::PointD const point = MercatorBounds::FromLatLon(ms::LatLon(info.m_latitude, info.m_longitude)); m_gpsTrack.AddPoint(point, info.m_speed, info.m_timestamp); } }