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

Display order problem in legend #124

Open
armin11 opened this issue Jun 23, 2023 · 0 comments
Open

Display order problem in legend #124

armin11 opened this issue Jun 23, 2023 · 0 comments

Comments

@armin11
Copy link
Collaborator

armin11 commented Jun 23, 2023

The order of the sublayers of a group layer are reverse to the order of the layer in treegde module. Both orders can be configured - it has to be tested, if some element_vars may work as they should.

See:

https://documents.geoportal.rlp.de/mediawiki/index.php/Legend
https://github.com/mrmap-community/Mapbender2.8/blob/master/http/javascripts/mod_legendDiv.php

element_var: reverseLegend

and

https://documents.geoportal.rlp.de/mediawiki/index.php/TreeGDE2
https://github.com/mrmap-community/Mapbender2.8/blob/master/http/html/mod_treefolderPlain.php
https://github.com/mrmap-community/Mapbender2.8/blob/master/http/html/mod_treefolderPlain2019.php

element_var - reverse: true

example:
https://www.geoportal.rlp.de/map?LAYER[zoom]=1&LAYER[id]=49565&gui_id=Geoportal-RLP_2019
![Bildschirmfoto von 2023-06-23 13-29-00]
(https://github.com/mrmap-community/Mapbender2.8/assets/1188234/064a5866-1a6b-4f26-b4b7-a449b2bacd50)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant