Description
The request is to hide a list of prefixed layers from a configuration property so that these layers will never be included in legends list that is sent to mapfishprint
Acceptance criteria
Other useful information
Suggestion for implementation
- a new string[] cfg option called excludeLayersFromLegend:[] for Print plugin will be created, be default empty array list, it will contain a list or strings with :
- this option will be passed to the printcreators here
|
this.props.printingService.print({ |
- then here
|
export const getMapfishLayersSpecification = (layers, spec, state, purpose) => { |
there will be the filtering
Description
The request is to hide a list of prefixed layers from a configuration property so that these layers will never be included in legends list that is sent to mapfishprint
Acceptance criteria
Other useful information
Suggestion for implementation
MapStore2/web/client/plugins/Print.jsx
Line 606 in d70bae0
MapStore2/web/client/utils/PrintUtils.js
Line 577 in d70bae0