diff --git a/src/components/project.vue b/src/components/project.vue index fea3109..a4fc7a0 100644 --- a/src/components/project.vue +++ b/src/components/project.vue @@ -201,7 +201,7 @@ export default { }, attributionControl: false }); - if(!this.isMobile()) this.map.addControl(new ScaleControl({unit: 'metric'}), 'bottom-right'); + this.map.addControl(new ScaleControl({unit: 'metric'}), 'bottom-right'); //Get default basemap this.baseMap = this.baseMaps.find((asBM) => asBM.default_map)?.codename ?? null; diff --git a/src/styles/_mobile.scss b/src/styles/_mobile.scss index 7c3ddf5..f7396f3 100644 --- a/src/styles/_mobile.scss +++ b/src/styles/_mobile.scss @@ -67,4 +67,7 @@ } } -} + #map .maplibregl-ctrl-bottom-right { + display: none; + } +}