You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found an issue with OMRaster not displaying on the map if an ImageFilter is set. If you remove the image filter, then the image will be displayed.
The issue was introduced with commit c8afba5. See OMRasterObject.imageUpdate(). I'm not sure the correct way to address it besides going back to the previous code.
I've attached a code sample to reproduce the issue. When you first run it, it will display a white box. Then uncomment the setting of the image filter and run it again. There should now be a green box displayed whereas no box displays.
I have a work around by extending OMRaster and override renderImage(). In the override method, call image.getHeight(null) or image.getWidth(null) followed by calling super.renderImage(). This will cause the filtered image to get loaded before rendering to the map.
I'm running against OpenMap version 5.1.14 and Java 64-bit 8u60 on Linux.
Found an issue with OMRaster not displaying on the map if an ImageFilter is set. If you remove the image filter, then the image will be displayed.
The issue was introduced with commit c8afba5. See OMRasterObject.imageUpdate(). I'm not sure the correct way to address it besides going back to the previous code.
I've attached a code sample to reproduce the issue. When you first run it, it will display a white box. Then uncomment the setting of the image filter and run it again. There should now be a green box displayed whereas no box displays.
I have a work around by extending OMRaster and override renderImage(). In the override method, call image.getHeight(null) or image.getWidth(null) followed by calling super.renderImage(). This will cause the filtered image to get loaded before rendering to the map.
I'm running against OpenMap version 5.1.14 and Java 64-bit 8u60 on Linux.
SimpleMap.java.txt
The text was updated successfully, but these errors were encountered: