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

@ -1,5 +1,9 @@
# Changelog
## New since 0.6.0-rc1
- Minor improvements and bug fixes
## Version 0.6.X
**Version 0.6.0-rc1 (2016-10-08)**

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();
}
/**