tweak further for small screens

This commit is contained in:
Iris Lightshard 2022-08-20 17:56:57 -06:00
parent 94aa95877b
commit e70405f5ae
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
2 changed files with 11 additions and 2 deletions

View file

@ -1176,11 +1176,11 @@ function init() {
// old default zoom was 13
const streetLayer = TileLayerWrapper.constructLayer("streetLayer", L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: "street map tiles © OpenStreetMap"
attribution: "street map data © OpenStreetMap contributors"
}));
const satelliteLayer = TileLayerWrapper.constructLayer("satelliteLayer", L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
maxZoom: 19,
attribution: "satellite tiles © Esri"
attribution: "satellite data © Esri"
}));
TileLayerWrapper.enableOnly("streetLayer", map);
overlays.markers.forEach(m => m.add(map));

View file

@ -21,6 +21,7 @@ body {
.tiny {
font-size: 33%;
vertical-align: top;
white-space: nowrap;
}
#noscript-container {
@ -421,4 +422,12 @@ body {
body {
font-size: 75%;
}
#createOverlay-container,
#cancel-container,
#confirm-container
#info-container,
#import-export-container {
font-size: 50%;
}
}