In new version v 5.3.0 (ol map library) Changed behavior attribution. Before I had icon "i" and under it all attribution for displayed layers.
Now I have some flattened info.
Developers gave instructions to use the previous behavior:
Attributions are not collapsible for
ol/source/OSM
When a map contains a layer from a
ol/source/OSM
source, theol/control/Attribution
control will be shown with the ``collapsible: false` behavior.To get the previous behavior, configure the
ol/control/Attribution
control withcollapsible: true
.
But how to achieve this?
The same way as
collapsible: false
was specified in previous versions (note that it has always been a terms of use requirement of OSM and some other sources that attributions are always visible when their tiles are used on a public facing site)or if you are using the full build: