BoundingBox: fix longitude span #200

This commit is contained in:
Emux
2016-10-09 21:12:47 +03:00
parent d4f3c32358
commit 3c1091d8e0
2 changed files with 5 additions and 1 deletions

View File

@@ -267,7 +267,7 @@ public class BoundingBox {
* @return the longitude span of this BoundingBox in degrees.
*/
public double getLongitudeSpan() {
return getMaxLongitude() - getMinLatitude();
return getMaxLongitude() - getMinLongitude();
}
/**