revert back to scale calc
This commit is contained in:
parent
36e5e7238e
commit
fa2045d998
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ namespace mapnik
|
|||
{
|
||||
double sx=((double)width)/extent.width();
|
||||
double sy=((double)height)/extent.height();
|
||||
scale_=sx;//std::min(sx,sy);
|
||||
scale_=std::min(sx,sy);
|
||||
}
|
||||
|
||||
inline double scale() const
|
||||
|
|
Loading…
Reference in a new issue