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

Method UpdateMinBuildingsTapZoom

libs/map/framework.cpp:2143–2147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2141}
2142
2143void Framework::UpdateMinBuildingsTapZoom()
2144{
2145 constexpr int kMinTapZoom = 16;
2146 m_minBuildingsTapZoom = max(kMinTapZoom, feature::GetDrawableScaleRange(classif().GetTypeByPath({"building"})).first);
2147}
2148
2149FeatureID Framework::FindBuildingAtPoint(m2::PointD const & mercator) const
2150{

Callers

nothing calls this directly

Calls 2

GetDrawableScaleRangeFunction · 0.85
GetTypeByPathMethod · 0.80

Tested by

no test coverage detected