mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
remove scale control
This commit is contained in:
@@ -38,8 +38,8 @@ function initMap() {
|
|||||||
let nav = new maplibregl.NavigationControl({ showCompass: false })
|
let nav = new maplibregl.NavigationControl({ showCompass: false })
|
||||||
map.addControl(nav, 'top-right')
|
map.addControl(nav, 'top-right')
|
||||||
|
|
||||||
let scale = new maplibregl.ScaleControl()
|
// let scale = new maplibregl.ScaleControl()
|
||||||
map.addControl(scale)
|
// map.addControl(scale)
|
||||||
|
|
||||||
let attrib = new maplibregl.AttributionControl({
|
let attrib = new maplibregl.AttributionControl({
|
||||||
compact: false,
|
compact: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user