Add attribution.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 8 Jun 2018 18:29:08 +0000 (20:29 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 8 Jun 2018 18:29:08 +0000 (20:29 +0200)
wrmap.js

index 88554290531fdba6847f5ddbb907f610513e6037..72ec724806d5e16e1b296976fc1535e7a0e064c0 100644 (file)
--- a/wrmap.js
+++ b/wrmap.js
@@ -308,6 +308,11 @@ function init_wrmap(i, jq_map) {
                view: new ol.View({
                        center: ol.proj.fromLonLat([lon, lat]),
                        zoom: zoom
                view: new ol.View({
                        center: ol.proj.fromLonLat([lon, lat]),
                        zoom: zoom
+               }),
+               controls: ol.control.defaults({
+                       attributionOptions: {
+                               collapsible: false
+                       }
                })
        });
 
                })
        });