forked from organicmaps/organicmaps
GetWorldRect can be a static method
This commit is contained in:
parent
2555c4b82e
commit
d36e78c84a
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ void ScalesProcessor::SetParams(double visualScale, int tileSize)
|
|||
m_visualScale = visualScale;
|
||||
}
|
||||
|
||||
m2::RectD const & ScalesProcessor::GetWorldRect() const
|
||||
m2::RectD const & ScalesProcessor::GetWorldRect()
|
||||
{
|
||||
static m2::RectD const worldRect = MercatorBounds::FullRect();
|
||||
return worldRect;
|
||||
|
|
|
@ -15,7 +15,7 @@ public:
|
|||
|
||||
void SetParams(double visualScale, int tileSize);
|
||||
|
||||
m2::RectD const & GetWorldRect() const;
|
||||
static m2::RectD const & GetWorldRect();
|
||||
inline int GetTileSize() const { return m_tileSize; }
|
||||
inline double GetVisualScale() const { return m_visualScale; }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue