Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapStore mapfish specification creator refactor #40

Open
3 tasks
mbarto opened this issue Nov 5, 2021 · 0 comments
Open
3 tasks

MapStore mapfish specification creator refactor #40

mbarto opened this issue Nov 5, 2021 · 0 comments
Assignees

Comments

@mbarto
Copy link

mbarto commented Nov 5, 2021

The payload for printing maps sent to mapfish is created by MapStore in the PrintUtils utility (in the getMapfishPrintSpecification function), as an hardcoded transformation.

To allow customization of the payload, we need the following:

  • allow full delegation of getMapfishPrintSpecification to a different (project) function
  • refactor actual getMapfishPrintSpecification to decentralize transformer functions from PrintUtils to where they belong (e.g. WMS layer transformation should be moved to the WMS area) and allow plugging new transformers for additional fields
  • automatically include in the mapfish payload custom properties set by custom controls (all those properties will be stored in a plugins section of the printing spec, so they will be easily recognized)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant