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

Method GetWorldRect

libs/map/features_fetcher.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83m2::RectD FeaturesFetcher::GetWorldRect() const
84{
85 if (m_rect == m2::RectD())
86 {
87 // Rect is empty when no countries are loaded, return max global rect.
88 return mercator::Bounds::FullRect();
89 }
90 return m_rect;
91}
92
93void FeaturesFetcher::OnMapDeregistered(platform::LocalCountryFile const & localFile)
94{

Callers 4

ShowAllMethod · 0.80
RunTestFunction · 0.80
GetRandomRectMethod · 0.80
RunTestFunction · 0.80

Calls

no outgoing calls

Tested by 3

RunTestFunction · 0.64
GetRandomRectMethod · 0.64
RunTestFunction · 0.64