diff --git a/modules/ui/options.js b/modules/ui/options.js index 74022100..ccf5fc68 100644 --- a/modules/ui/options.js +++ b/modules/ui/options.js @@ -160,6 +160,7 @@ function changeMapSize() { oceanLayers.select("rect").attr("x", 0).attr("y", 0).attr("width", maxWidth).attr("height", maxHeight); fogging.selectAll("rect").attr("x", 0).attr("y", 0).attr("width", maxWidth).attr("height", maxHeight); defs.select("mask#fog > rect").attr("width", maxWidth).attr("height", maxHeight); + texture.select("image").attr("width", maxWidth).attr("height", maxHeight); fitScaleBar(); if (window.fitLegendBox) fitLegendBox();