This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a commit to branch geoapi-4.0 in repository https://gitbox.apache.org/repos/asf/sis.git
commit 739b246cbf2c4372f4a31f7e4fec3fbf7ad71534 Author: Martin Desruisseaux <[email protected]> AuthorDate: Sun Nov 28 12:02:56 2021 +0100 Remove the 100 pixels margin which was added to the image rendered by `CoverageCanvas`. The margin intend was to have some content ready in advance when user translates the view. But it also consumes more memory, slows down the rendering (because of larger surface) and makes the `ImagePropertyExplorer` content a little bit more confusing. The margin is still configurable programmatically by `CoverageCanvas` users. A future version may add a widget in an option pane for letting user set this value, or we could try to infer a value automatically based on direction and speed of pan. --- .../src/main/java/org/apache/sis/gui/coverage/CoverageCanvas.java | 1 - 1 file changed, 1 deletion(-) diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageCanvas.java b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageCanvas.java index c6887ec..6e3da66 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageCanvas.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageCanvas.java @@ -259,7 +259,6 @@ public class CoverageCanvas extends MapCanvasAWT { coverageProperty .addListener((p,o,n) -> onPropertySpecified(null, n, resourceProperty)); sliceExtentProperty .addListener((p,o,n) -> onPropertySpecified(getResource(), getCoverage(), null)); interpolationProperty.addListener((p,o,n) -> onInterpolationSpecified(n)); - imageMargin.set(new Insets(100)); } /**
