Closed NyakudyaA closed 1 year ago
the same as here ? https://github.com/3liz/lizmap-web-client/issues/1396
the same as here ? #1396
No, that's a totally different issue. Here the graticule labels are not showing. On the other issue it references the grid not rendering
This is resolved, Note experiencing this anymore since 3.4
Problem
I have deployed lizmap using docker-compose and when I try to print the map. I get a map with no graticule values.
In the QGIS composer, these values are visible
Whilst debugging I noticed the example of a request that is being generated for each print request specifies the parameter
In QGIS Server get print parameters this parameter is optional.
Example Request https://foo.bar.com/index.php/lizmap/service/?repository=topographic&project=topomaps&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetPrint&FORMAT=png&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&SRS=EPSG:3857&DPI=100&TEMPLATE=A3%20portrait%20topo&map0:extent=2729916.738659,-3359606.364252,2768917.676522,-3308305.130601&map0:scale=150000&map0:grid_interval_x=10000&map0:grid_interval_y=10000&map0:LAYERS=1in50k%20Topographic%20map&map0:STYLES=default&LAYERS=1in50k%20Topographic%20map&STYLES=default&OPACITIES=255&map_title=Enter+map+title
But if I disable this parameter in map.js I get the correct image.
Is it important to have the grid_interval_x in the request for printing?