From 0e752d65320bb5155830131fad44f508835222a1 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Fri, 19 Jan 2024 23:39:46 +0100 Subject: [PATCH] attrib styling --- website/assets/map_howto.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/assets/map_howto.js b/website/assets/map_howto.js index 01b12c1..cf9073e 100644 --- a/website/assets/map_howto.js +++ b/website/assets/map_howto.js @@ -11,6 +11,7 @@ function initMap() { boxZoom: false, doubleClickZoom: false, scrollZoom: false, + attributionControl: false, }) window.map = map @@ -24,6 +25,11 @@ function initMap() { let scale = new maplibregl.ScaleControl() map.addControl(scale) + let attrib = new maplibregl.AttributionControl({ + compact: false, + }) + map.addControl(attrib) + new maplibregl.Marker().setLngLat([-0.119, 51.507]).addTo(map) }