Skip to content

Layer tree problem after refreshing #367

@nono22170

Description

@nono22170

Hello,

I am a French apprentice currently working on QWC.
I think I found a bug when refreshing (F5) my web page after adding layers from the layer catalog.
Before refreshing :
Image
After refreshing :
Image

For my apprenticeship, I will be working on a solution for this issue over the next weeks.
I started to work on a solution to add a parameter in the URL. Thanks to this new parameter, when I load my page, it will fetch the WMS layers and get the layer tree again. For that, I modified themes.js in qwc2/reducers and LayerCatalogWidget.jsx in qwc2/components/widgets.

Maybe someone has another solution for this problem ?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions