Skip to content

Commit 3c1091d

Browse files
committed
BoundingBox: fix longitude span #200
1 parent d4f3c32 commit 3c1091d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/Changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## New since 0.6.0-rc1
4+
5+
- Minor improvements and bug fixes
6+
37
## Version 0.6.X
48

59
**Version 0.6.0-rc1 (2016-10-08)**

vtm/src/org/oscim/core/BoundingBox.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public double getLatitudeSpan() {
267267
* @return the longitude span of this BoundingBox in degrees.
268268
*/
269269
public double getLongitudeSpan() {
270-
return getMaxLongitude() - getMinLatitude();
270+
return getMaxLongitude() - getMinLongitude();
271271
}
272272

273273
/**

0 commit comments

Comments
 (0)