diff --git a/map/framework.cpp b/map/framework.cpp index f695a2fc7e..00099e4a2c 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1880,7 +1880,13 @@ UserMark const * Framework::OnTapEventImpl(m2::PointD pxPoint, bool isLong, bool }); if (mark != nullptr) + { + // TODO(AlexZ): Refactor out together with UserMarks. + const_cast(mark)->SetFeature(fid.IsValid() ? + GetFeatureByID(fid) : + GetFeatureAtMercatorPoint(mark->GetPivot())); return mark; + } bool needMark = false; m2::PointD mercatorPivot;