Tweaks for poles.
This commit is contained in:
parent
f5bb467c57
commit
e03dbcee10
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue