| 259 | } |
| 260 | |
| 261 | void DataSource::ForClosestToPoint(FeatureCallback const & f, StopSearchCallback const & stop, |
| 262 | m2::PointD const & center, double sizeM, int scale) const |
| 263 | { |
| 264 | auto const rect = mercator::RectByCenterXYAndSizeInMeters(center, sizeM); |
| 265 | ReadMWMFunctor readFunctor(*m_factory, f, stop); |
| 266 | ForEachInIntervals(readFunctor, covering::CoveringMode::Spiral, rect, scale); |
| 267 | } |
| 268 | |
| 269 | void DataSource::ForEachInScale(FeatureCallback const & f, int scale) const |
| 270 | { |
no test coverage detected