From: Philipp Spitzer Date: Fri, 8 Jun 2018 18:29:08 +0000 (+0200) Subject: Add attribution. X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/mediawiki_extensions/wrmap.git/commitdiff_plain/ce4c82b4a4cfe09db59ef2b02193a3dfba1a1350 Add attribution. --- diff --git a/wrmap.js b/wrmap.js index 8855429..72ec724 100644 --- 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 + }), + controls: ol.control.defaults({ + attributionOptions: { + collapsible: false + } }) });