Conversation
|
Hi @ismailsunni , could you please explain your rationale? |
|
There is a case where the layer has properties that shouldn't be included in the print spec. It might be property that is not serializable to JSON (circular reference) or simply it will make MFP throws an error. So, even if the feature is not displayed, the "problematic" property is stil lincluded in the json print spec. See an example: https://github.com/geoadmin/web-mapviewer/blob/master/src/api/print.api.js#L55-L60 |
|
I am still a bit uneasy with your approach.
|
|
@gberaudo I agree with your approach. My approach is not solving the issue in the correct location. So, should we add another parameter to pass a replacer in the |
|
Superseded by #37 |
Fix when the layer has empty string but still needs to be processed by customizer.feature