3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
248 stars 141 forks source link

[Bugfix] JS config themes #4514

Open rldhont opened 2 weeks ago

rldhont commented 2 weeks ago

Fixing JS classes around map themes

Funded by Karum

josemvm commented 1 week ago

hi @rldhont i get this error An error occurred while loading this map. Some necessary resources may temporarily be unavailable. Please try again later. [Go back to the home page.](https://xxx.xxx.xxx/) when i activate de first map theme on qgis server 3.34, lwc 3.7.9-pre but not on qgis server 3.28

maybe related to this PR (?)

rldhont commented 1 week ago

hi @rldhont i get this error An error occurred while loading this map. Some necessary resources may temporarily be unavailable. Please try again later. [Go back to the home page.](https://xxx.xxx.xxx/) when i activate de first map theme on qgis server 3.34, lwc 3.7.9-pre but not on qgis server 3.28

maybe related to this PR (?)

When you've got this message, it means that one of the GetCapabilities requests (WMS, WFS, WMTS) or all has failed.

Gustry commented 5 days ago

@josemvm

i get this error

Please check your Javascript console, you will have some tips about what was wrong, in the "Console" and/or in the "Network" tab by checking which requests as failed.

josemvm commented 5 days ago

@rldhont

When you've got this message, it means that one of the GetCapabilities requests (WMS, WFS, WMTS) or all has failed.

in this case when i deactivate de first map theme the map loads with all layers and without problems

@Gustry this is what i can get in my javascript console:

imagem

josemvm commented 5 days ago

in the network tab everything looks good to me but i can provide an url if you want to investigate

thanks

rldhont commented 9 hours ago

@Gustry I have apply https://github.com/3liz/lizmap-web-client/pull/4565