Correctly take into an account 3D pixel coordinates, missing after refactoring+rebase.

This commit is contained in:
Alex Zolotarev 2016-01-12 13:46:10 +03:00 committed by Sergey Yershov
parent ee56cf7f3d
commit f78afa65d4

View file

@ -1916,7 +1916,7 @@ UserMark const * Framework::OnTapEventImpl(m2::PointD pxPoint, bool isLong, bool
}
else if (isLong)
{
mercatorPivot = m_currentModelView.PtoG(pxPoint);
mercatorPivot = m_currentModelView.PtoG(pxPoint2d);
// TODO(AlexZ): Should we change mercatorPivot to found feature's center?
feature = GetFeatureAtMercatorPoint(mercatorPivot);
needMark = true;