smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

PrintDirect with empty layer printout #385

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Defining 'minScale' or 'maxScale' in the layer definition causes an empty 
printout (printdirect) for that layer, even if your map scale is inside the 
range:
...
      // --- BKG - DTK25 ---
    base_tk25_bkg: new OpenLayers.Layer.WMS("TK 25 (BKG)",
            "http://sg.geodatenzentrum.de/wms_dtk25?VERSION=1.1.1",
    {layers: "DTK25", format: "image/png", transparent: false},
    {singleTile: true, ratio: 1.0, buffer: 0, isBaseLayer: true, visibility: false, noLegend: true
         , attribution: Heron.scratch.attribution.LN_A_BKG_TK25
         , minScale: 300000
    }
...

1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by wolfram.winter on 5 Jun 2014 at 10:38