             lyrXML = <layer label={label}
                     type="tiled"
                     visible={tiledLyr.visible}
+                    minscale={tiledLyr.minScale}
+                    maxscale={tiledLyr.maxScale}
                     showinlegend={tiledLyr.showInLegend}
                     alpha={tiledLyr.alpha}
                     useproxy={tiledLyr.proxyURL != null}

                        type="feature"
                        showinlegend={feaLyr.showInLegend}
                        visible={feaLyr.visible}
                        alpha={feaLyr.alpha}
                        mode={feaLyr.mode}
                        useproxy={feaLyr.proxyURL != null}

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