georchestra / mapstore2-georchestra

geOrchestra newest viewer
Other
6 stars 23 forks source link

Allow different printing templates #566

Open severinmenard opened 1 year ago

severinmenard commented 1 year ago

Currently, the printing module allows you to have only one template with different formats (A4, A3), landscape/portrait, with or without legend and if a legend, with the map/in a separate page.

But you cannot have eg. a classic topography template, a specific partner or department template, etc. with all the 2x2x3 possibilities. This would mean having an extra drop-down list in the front end for the user, and an upper class that would contain all the 2x2x3 possibilities in the config file.

This would be a nice enhancement.

severinmenard commented 10 months ago

Any feedback?

Gaetanbrl commented 10 months ago

Just for my info @severinmenard, what is 2x2x3 ?

Gaetanbrl commented 10 months ago

Have you try to create your own template @severinmenard ?

See the YAML config file in the georchestra datadir : https://github.com/georchestra/datadir/blob/master/mapstore/printing/config.yaml

severinmenard commented 10 months ago

@Gaetanbrl The 2x2x3 possibilities are A3/A4 x Letter/Portrait x No Legend/Legend/Legend on separated page

Yes sure, I created my own template, but did not find the way to create several templates