Skip to content

Commit

Permalink
Move scale bar for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Nov 13, 2023
1 parent f6c6de5 commit f066a51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ window.onload = (event) => {
trackUserLocation: true
}))
.addControl(new maplibregl.ScaleControl({
maxWidth: 200,
maxWidth: 150,
unit: 'imperial'
}), "bottom-right");
}), "bottom-left");

map.loadImage('img/disallowed-stripes.png', (error, image) => {
if (error) throw error;
Expand Down

0 comments on commit f066a51

Please sign in to comment.