                     type="image"
                     visible={imgLyr.visible}
                     alpha={imgLyr.alpha}
+                    minscale={imgLyr.minScale}
+                    maxscale={imgLyr.maxScale}
                     showinlegend={imgLyr.showInLegend}
                     useproxy={imgLyr.proxyURL != null}
                     url={imgLyr.url}/>;

            lyrXML = <layer label={label}
                    type="osm"
                    visible={osmLyr.visible}
                    showinlegend={osmLyr.showInLegend}
                    alpha={osmLyr.alpha}/>;
        }

                    type="webtiled"
                    showinlegend={webTiledLayer.showInLegend}
                    visible={webTiledLayer.visible}
                    minscale={webTiledLayer.minScale}
                    maxscale={webTiledLayer.maxScale}
                    alpha={webTiledLayer.alpha}
                    url={webTiledLayer.urlTemplate}/>;
            if (webTiledLayer.copyright)
