PB-360: Remove circular reference and unused properties from KML layer.#761
Merged
ismailsunni merged 6 commits intodevelopfrom Apr 17, 2024
Merged
PB-360: Remove circular reference and unused properties from KML layer.#761ismailsunni merged 6 commits intodevelopfrom
ismailsunni merged 6 commits intodevelopfrom
Conversation
Passing run #1758 ↗︎Details:
Review all test suite changes for PR #761 ↗︎ |
|||||||||||||||
ltshb
reviewed
Apr 4, 2024
Contributor
ltshb
left a comment
There was a problem hiding this comment.
I think it would be better to use the Customizer to remove those properties, see https://geoblocks.github.io/mapfishprint/docs/classes/BaseCustomizer.default.html#feature
ltshb
reviewed
Apr 4, 2024
f333f47 to
7e790f4
Compare
Contributor
|
@ismailsunni I allow myself to rebase and if it works I'll merge this, as I will work on an issue that might enter in conflict with this work. |
b0001f0 to
3a5fe1f
Compare
3a5fe1f to
43991cc
Compare
c39b35b to
96e0161
Compare
ltshb
approved these changes
Apr 17, 2024
Contributor
|
Also on the old viewer the drawing looks better (smaller lines) as on the new one that have thicker lines bolder text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Test link
The geoblocks/mapfishprint is able to create the print specification with KML layer. Unfortunately, in mapviewer, there is a circular reference make it not possible to stringify the print specification object. The properties is removed as it's not used in the printing.
There is also another property (
editableFeature) that make mapfishprint throws an error.Sample print result:

Test link