| 1236 | } |
| 1237 | |
| 1238 | std::pair<FeatureID, kml::MarkId> FrontendRenderer::GetVisiblePOI(m2::PointD const & pixelPoint) |
| 1239 | { |
| 1240 | double halfSize = VisualParams::Instance().GetTouchRectRadius(); |
| 1241 | m2::PointD sizePoint(halfSize, halfSize); |
| 1242 | m2::RectD selectRect(pixelPoint - sizePoint, pixelPoint + sizePoint); |
| 1243 | return GetVisiblePOI(selectRect); |
| 1244 | } |
| 1245 | |
| 1246 | std::pair<FeatureID, kml::MarkId> FrontendRenderer::GetVisiblePOI(m2::RectD const & pixelRect) |
| 1247 | { |
nothing calls this directly
no test coverage detected