attrib styling

This commit is contained in:
Zsolt Ero
2024-01-19 23:39:46 +01:00
parent 7dfd99cf7d
commit 0e752d6532

View File

@@ -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)
}