| 46 | } |
| 47 | |
| 48 | location::GpsInfo MakeGpsInfo(m2::PointD const & point) |
| 49 | { |
| 50 | location::GpsInfo info; |
| 51 | info.m_source = location::EUser; |
| 52 | info.m_latitude = mercator::YToLat(point.y); |
| 53 | info.m_longitude = mercator::XToLon(point.x); |
| 54 | info.m_horizontalAccuracy = 10; |
| 55 | info.m_timestamp = QDateTime::currentMSecsSinceEpoch() / 1000.0; |
| 56 | return info; |
| 57 | } |
| 58 | |
| 59 | void SetDefaultSurfaceFormat(QString const & platformName) |
| 60 | { |
no test coverage detected