MCPcopy Create free account
hub / github.com/comaps/comaps / ForEachFeatureAtPoint

Method ForEachFeatureAtPoint

libs/map/framework.hpp:666–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664 FeatureID GetFeatureAtPoint(m2::PointD const & mercator, FeatureMatcher && matcher = nullptr) const;
665 template <typename TFn>
666 void ForEachFeatureAtPoint(TFn && fn, m2::PointD const & mercator) const
667 {
668 indexer::ForEachFeatureAtPoint(m_featuresFetcher.GetDataSource(), fn, mercator, 0.0);
669 }
670
671 osm::MapObject GetMapObjectByID(FeatureID const & fid) const;
672

Callers 1

UNIT_TESTFunction · 0.45

Calls 2

ForEachFeatureAtPointFunction · 0.85
GetDataSourceMethod · 0.80

Tested by 1

UNIT_TESTFunction · 0.36