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

Method GetNearbyPlaces

libs/search/reverse_geocoder.cpp:133–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133std::vector<ReverseGeocoder::Place> ReverseGeocoder::GetNearbyPlaces(search::MwmContext & context,
134 m2::PointD const & center, double radiusM,
135 bool ignoreEditedStatus)
136{
137 return GetNearbyObjects<Place>(context, center, radiusM, [](FeatureType & ft)
138 {
139 return (ftypes::IsLocalityChecker::Instance().GetType(ft) >= ftypes::LocalityType::City ||
140 ftypes::IsSuburbChecker::Instance()(ft));
141 }, ignoreEditedStatus);
142}
143
144string ReverseGeocoder::GetFeatureStreetName(FeatureType & ft) const
145{

Callers

nothing calls this directly

Calls 1

GetTypeMethod · 0.45

Tested by

no test coverage detected