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

Wrong title for LayerGroup in infoclick #1204

Closed
linusfj opened this issue Oct 5, 2022 · 3 comments · Fixed by #1205
Closed

Wrong title for LayerGroup in infoclick #1204

linusfj opened this issue Oct 5, 2022 · 3 comments · Fixed by #1205
Assignees
Labels
bug module:client/plugin Functionality that goes into plugins in client
Milestone

Comments

@linusfj
Copy link
Member

linusfj commented Oct 5, 2022

Describe the bug
When infoclicking on sublayers of the type LayerGroup, the incorrect caption is displayed in the title.

To Reproduce
Steps to reproduce the behavior:

  1. Add layer as a LayerGroup.
  2. Infoclick on a sublayer in the group.
  3. The title does not use the correct caption in the information window.
@linusfj linusfj added bug module:client/plugin Functionality that goes into plugins in client labels Oct 5, 2022
@linusfj linusfj added this to the 3.11 milestone Oct 5, 2022
@linusfj linusfj self-assigned this Oct 5, 2022
@jacobwod
Copy link
Member

jacobwod commented Oct 7, 2022

Just to be clear: does this happen to you when using the new MapClickViewer too? Activate and report back please.

image

@jacobwod
Copy link
Member

jacobwod commented Oct 7, 2022

I tried with the old infoclick variant too, and I could not reproduce.

The layer "Rättigheter" is a layer group (as you can see in the start of my video below). When I click on its features, I get the correct label in the infoclick window.

Skarminspelning.2022-10-07.kl.10.56.35.mov

@jacobwod jacobwod linked a pull request Oct 7, 2022 that will close this issue
@linusfj
Copy link
Member Author

linusfj commented Oct 14, 2022

Try adding a layer with this URL:
http://maps3.sgu.se/geoserver/misc/wms

@jacobwod jacobwod closed this as completed Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug module:client/plugin Functionality that goes into plugins in client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants