forked from organicmaps/organicmaps
Fixed lat lon of gps point
This commit is contained in:
parent
b9c147cdbb
commit
937470eeb2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue