File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/mapcode Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -237,8 +237,8 @@ static Point decode(@Nonnull final String argMapcode,
237237 if (maxx > decodeLimits .getMinX ()) { pt .setMaxLonToMicroDeg (maxx ); }
238238
239239 // better?
240- if ( pt .getLatDeg ()*1000000 > decodeLimits .getMinY () && pt .getLatMicroDeg () < decodeLimits .getMaxY () &&
241- pt .getLonDeg ()*1000000 > decodeLimits .getMinX () && pt .getLonMicroDeg () < decodeLimits .getMaxX () &&
240+ if ( pt .getLatDeg ()*1000000 > decodeLimits .getMinY () && pt .getLatDeg ()* 1000000 < decodeLimits .getMaxY () &&
241+ pt .getLonDeg ()*1000000 > decodeLimits .getMinX () && pt .getLonDeg ()* 1000000 < decodeLimits .getMaxX () &&
242242 Data .getBoundaries (j ).containsPoint (pt ))
243243 {
244244 result = Point .fromPoint (pt );
You can’t perform that action at this time.
0 commit comments