From 57201be4b2733d45f1cf3143af3b9d8c8a6d3104 Mon Sep 17 00:00:00 2001 From: Raymond Lam Date: Tue, 8 Apr 2014 02:24:04 -0400 Subject: [PATCH] Fixes Bounds.contains() for issue #71 --- library/src/com/google/maps/android/geometry/Bounds.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 library/src/com/google/maps/android/geometry/Bounds.java diff --git a/library/src/com/google/maps/android/geometry/Bounds.java b/library/src/com/google/maps/android/geometry/Bounds.java old mode 100644 new mode 100755 index e08bc380c..35b582b8f --- a/library/src/com/google/maps/android/geometry/Bounds.java +++ b/library/src/com/google/maps/android/geometry/Bounds.java @@ -40,7 +40,7 @@ public Bounds(double minX, double maxX, double minY, double maxY) { } public boolean contains(double x, double y) { - return minX <= x && x < maxX && minY <= y && y < maxY; + return minX <= x && x <= maxX && minY <= y && y <= maxY; } public boolean contains(Point point) {