diff options
author | Alexander Marchuk <alexm@maps.me> | 2016-06-08 12:48:00 +0300 |
---|---|---|
committer | Alexander Marchuk <alexm@maps.me> | 2016-06-16 16:05:32 +0300 |
commit | ba2823d1dc3b1c8b01513fb450190496dc81a857 (patch) | |
tree | 53b83f649454345a4b8d9e73ffd3e1c153ed298a /map | |
parent | 8e739085653fad692db300f13c613e475082011b (diff) |
[android][locator] refactor: Handle MyPosition state without engine also.
Diffstat (limited to 'map')
-rw-r--r-- | map/framework.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/map/framework.hpp b/map/framework.hpp index 08aa65f130..b528efb8a5 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -350,6 +350,7 @@ public: void CreateDrapeEngine(ref_ptr<dp::OGLContextFactory> contextFactory, DrapeCreationParams && params); ref_ptr<df::DrapeEngine> GetDrapeEngine(); + bool IsDrapeEngineCreated() const { return m_drapeEngine && m_drapeEngine.get(); } void DestroyDrapeEngine(); /// Called when graphics engine should be temporarily paused and then resumed. void SetRenderingEnabled(bool enable); |