sourcepole / jasperreports-wms-component

JasperReports Extension for WMS Maps
GNU Lesser General Public License v3.0
10 stars 1 forks source link

width/heigth parameter missing with iReport version 5.1 #1

Open useher opened 11 years ago

useher commented 11 years ago

You have to pass the width and heigth as url parameters by hand otherwise the plugin doesn't work here. Maybe it is better to get these parameters automatic from the report element. This would scale the returned image direct on the size of the report element otherwise only a part of the image is displayed or it is too small. Another posibility can be a scaling function like an image element has.
Underlying WMS is UMN V6.2, iReport version is 5.1.

20130807_wms_ireports_enh001

pka commented 11 years ago

Thanks for the first bug report ;-) WIDTH and HEIGHT parameters are automatically included from the report element. We tested with iReport 5.0.1 and UMN. Would you mind check that against iReport 5.0?

ghost commented 11 years ago

Hi, I just try your exemple on iReport 5.0.0 and evrything seems to be ok.

test_ireport_wms2 test_ireport_wms1