Fixed lat lon of gps point

This commit is contained in:
Constantin Shalnev 2015-12-01 15:05:38 +03:00
parent b9c147cdbb
commit 937470eeb2

View file

@ -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);
}
}