revert back to scale calc

This commit is contained in:
Artem Pavlenko 2005-12-23 12:45:25 +00:00
parent 36e5e7238e
commit fa2045d998

View file

@ -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