Closed kwg1990 closed 8 years ago
Hi!
Thanks for the heads-up! I’ve updated the code for the next release.
On Apr 28, 2016, at 2:13 PM, kwg1990 notifications@github.com wrote:
In the class PanMouseMode, line 253, in method mousePressed. the paintedImage is set to paintedImage = new OMRaster(ul.getY(), ul.getX(), 0, 0, bufferedMapImage); if the ul.getY() call returns "90" then the image will not be rendered for some reason. Changing that line to this solves the problem and everything renders as expected: paintedImage = new OMRaster(ul.getY() < 90 ? ul.getY() : 89.9999999999, ul.getX(), 0, 0, bufferedMapImage);
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/OpenMap-java/openmap/issues/23
In the class PanMouseMode, line 253, in method mousePressed. the paintedImage is set to paintedImage = new OMRaster(ul.getY(), ul.getX(), 0, 0, bufferedMapImage); if the ul.getY() call returns "90" then the image will not be rendered for some reason. Changing that line to this solves the problem and everything renders as expected: paintedImage = new OMRaster(ul.getY() < 90 ? ul.getY() : 89.9999999999, ul.getX(), 0, 0, bufferedMapImage);