Skip to content

Conversation

@subashtiwari1010
Copy link
Contributor

Description

This PR fixes the issue of rendering the interactive legends when graphic patterns are introduced in the styles. This PR adds the support for the Graphic symbology and WellKnownName from the Geoserver.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

Issue

What is the current behavior?
When the layers are loaded with interactive legend with complex SLD style, it does not render the legends properly.
#11814

What is the new behavior?
The support for the graphic fill and stroke is added in the legend so the Graphic symbology of the geoserver is supported.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

Add the support of the graphic patterns for the line and polygon symbolizers
@subashtiwari1010 subashtiwari1010 added this to the 2025.02.01 milestone Dec 17, 2025
@subashtiwari1010 subashtiwari1010 linked an issue Dec 17, 2025 that may be closed by this pull request
1 task
@subashtiwari1010 subashtiwari1010 marked this pull request as ready for review December 17, 2025 08:59
@tdipisa tdipisa modified the milestones: 2025.02.01, 2025.02.02 Dec 18, 2025
@allyoucanmap allyoucanmap removed their request for review January 5, 2026 09:15
Copy link
Member

@stefanocudini stefanocudini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works perfectly and the test coverage is enough for the new style conditions introduced

@stefanocudini stefanocudini self-requested a review January 5, 2026 16:45
@allyoucanmap allyoucanmap merged commit a3568c8 into geosolutions-it:master Jan 8, 2026
20 checks passed
@offtherailz
Copy link
Member

Successfully created backport PR for 2025.02.xx:

@allyoucanmap
Copy link
Contributor

@ElenaGallo please test this fix on dev and let us know if we can backport to 2025.02.xx.

dsuren1 added a commit to dsuren1/MapStore2 that referenced this pull request Jan 12, 2026
…nhance

* commit '71eed868bca55e1491443ca98c02518e9a90bbd9':
  update postgis image to version postgis 17, and postgres client for 17 compatibility (geosolutions-it#11859)
  Fix geosolutions-it#11856 - Enable print plugin for projects (geosolutions-it#11858)
  geosolutions-it#11644: Implement dynamic request configurations (geosolutions-it#11648)
  Fix geosolutions-it#11814 Interactive legend is not showing the correct icons (geosolutions-it#11823)
  Update maximum PostgreSQL version to 18 (geosolutions-it#11658)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interactive legend is not showing the correct icons

5 participants