diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2015-05-21 13:03:18 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-11-30 16:08:29 +0300 |
commit | b7c2a7a2e8f87bcfa3863efa9eb1a00f48629c76 (patch) | |
tree | 5999cdebc641a8f1b672222248afab795e55f6f9 /qt/draw_widget.cpp | |
parent | 5fde96bf58d2ed8f20f73232b756dae980a8147d (diff) |
[qt, ios, android] adaptation for new MyPosition controller
Diffstat (limited to 'qt/draw_widget.cpp')
-rw-r--r-- | qt/draw_widget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp index c1e37346b2..6bda769ba8 100644 --- a/qt/draw_widget.cpp +++ b/qt/draw_widget.cpp @@ -181,6 +181,8 @@ bool IsLocationEmulation(QMouseEvent * e) m_contextFactory = make_unique_dp<dp::ThreadSafeFactory>(new QtOGLContextFactory(this)); CreateEngine(); LoadState(); + + emit EngineCreated(); } } } @@ -318,7 +320,7 @@ bool IsLocationEmulation(QMouseEvent * e) location::GpsInfo info; info.m_latitude = MercatorBounds::YToLat(point.y); info.m_longitude = MercatorBounds::XToLon(point.x); - info.m_horizontalAccuracy = 10.0; + info.m_horizontalAccuracy = 10; info.m_timestamp = QDateTime::currentMSecsSinceEpoch() / 1000.0; m_framework->OnLocationUpdate(info); |