MCPcopy Create free account
hub / github.com/comaps/comaps / DestroyDrapeEngine

Method DestroyDrapeEngine

libs/map/framework.cpp:1638–1654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1636}
1637
1638void Framework::DestroyDrapeEngine()
1639{
1640 if (m_drapeEngine != nullptr)
1641 {
1642 m_drapeApi.SetDrapeEngine(nullptr);
1643 m_routingManager.SetDrapeEngine(nullptr, false);
1644 m_trafficManager.SetDrapeEngine(nullptr);
1645 m_transitManager.SetDrapeEngine(nullptr);
1646 m_isolinesManager.SetDrapeEngine(nullptr);
1647 m_searchMarks.SetDrapeEngine(nullptr);
1648 GetBookmarkManager().SetDrapeEngine(nullptr);
1649
1650 m_trafficManager.Teardown();
1651 GpsTracker::Instance().Disconnect();
1652 m_drapeEngine.reset();
1653 }
1654}
1655
1656void Framework::SetRenderingEnabled(ref_ptr<dp::GraphicsContextFactory> contextFactory)
1657{

Callers 3

mainFunction · 0.80
~MapWidgetMethod · 0.80
~MainViewMethod · 0.80

Calls 4

DisconnectMethod · 0.80
SetDrapeEngineMethod · 0.45
TeardownMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected