Fixed showing discovery object

This commit is contained in:
r.kuznetsov 2018-07-20 10:19:07 +03:00 committed by Vlad Mihaylenko
parent 8a55eacd35
commit efe96fd460

View file

@ -996,6 +996,8 @@ void Framework::ShowTrack(Track const & track)
void Framework::ShowFeatureByMercator(m2::PointD const & pt)
{
StopLocationFollow();
if (m_drapeEngine != nullptr)
{
m_drapeEngine->SetModelViewCenter(pt, scales::GetUpperComfortScale(), true /* isAnim */,