1
0
Fork 0

Tweaks for poles.

This commit is contained in:
curt 1999-05-06 02:27:24 +00:00
parent f5bb467c57
commit e03dbcee10

View file

@ -122,7 +122,7 @@ public:
// return the horizontal tile span factor based on latitude // return the horizontal tile span factor based on latitude
inline double bucket_span( double l ) { inline double bucket_span( double l ) {
if ( l >= 89.0 ) { if ( l >= 89.0 ) {
return 0.0; return 360.0;
} else if ( l >= 88.0 ) { } else if ( l >= 88.0 ) {
return 8.0; return 8.0;
} else if ( l >= 86.0 ) { } else if ( l >= 86.0 ) {
@ -150,7 +150,7 @@ inline double bucket_span( double l ) {
} else if ( l >= -89.0 ) { } else if ( l >= -89.0 ) {
return 8.0; return 8.0;
} else { } else {
return 0.0; return 360.0;
} }
} }