qgis / qwc2-demo-app

QWC2 demo application
Other
243 stars 155 forks source link

tiled : true in themeconfig do not works anymore #323

Closed cazitouni closed 2 years ago

cazitouni commented 2 years ago

Hello,

I allow myself to open an issue because since some times ago I'm now unable to use the mode tiled : true in my themesconfig.json. It used to work before then I restart my server and now it do not work at all. If I use tiled : false the layers are shown normally but with tiled : true the layers do not appears, I can query them but nothing is shown.

I do not have any specific errors in the javascript console that could help me and everything builds fine for production.

Do not hesitate ton ask me if you need more infos like my themesconfigs files whatsoever.

kind regards.

manisandro commented 2 years ago

Try comparing the GetMap requests with tiled=true and tiled=false in the network tab of the web developer tools (which you can open by pressing F12 in most browsers).

cazitouni commented 2 years ago

Thanks for your answer. I tried with tiled : false the getmap request is made correctly 1 but with tiled : true there is no getmap request at all. 2

manisandro commented 2 years ago

can you post a diff of two generated themes.json?

cazitouni commented 2 years ago

I've tried, the only addition between the two themes is the "tiled : true" line. Even if I build with tiled : true and change it manually to tiled : false in themes.json it works, but not with tiled : true. themes.zip

cazitouni commented 2 years ago

Any other idea about this issue ? I'm still trying but nothing works.

cazitouni commented 2 years ago

Found the issue. It was about declared extent in the qgis project. The qwc-demo-app show the layer in not tiled even if the extent is not declared but in tiled mode the client do not show anything if the extent is not declared in the project.