Closed mhaelsig closed 11 months ago
Can you attach your themes.json?
Although the same behaviour can be seen with [qwc2-demo](http://qwc2.sourcepole.ch/ ??
Are you using a current version of QWC2? I cannot reproduce it with master.
Yes, I am using the current version.
Looking at the current version of http://qwc2.sourcepole.ch/ in the lower right corner I cannot find the OSM attribution, although given as parameter in themesConfig.json:
Probably the themes attribution (here: 'Demo attribution') is hiding the background layer attribution. If I omit the themes attribution (in my application), there is also no OSM attribution: In which situation is the background layer attribution visible?
The OSM attribution is there (although structured slightly differently):
Thank you for your quick response. I don't need to know where and how to specify the background layer attribution, but I would like to know, where the qwc2 viewer places this attribution. Therefore, the two screenshots above. The issue is: the end user cannot see this background layer attribution. In the example above: 'OpenStreetMap contributors'.
Sorry I read too fast and though that you were missing the attribution in the generated themes.json. In any event, qwc2.sourcepole.ch
had showThemeCopyrightOnly: true
in config.json
(I've now set it to false
), you probably have the same setting in your config.json
.
Thank you 😁 - this solved the issue.
Hi, although 'attribute' and 'attributeUrl' are set, these attributions are not shown, at least when switching the background layer. Even the qwc2-demo-app always shows the attribution 'Demo attribution', although the corresponding themes.json contains specific attributions for e.g. the OSM background layer. Here I am lost - I do not like fights with legal ;-)