tweak further for small screens
This commit is contained in:
parent
94aa95877b
commit
e70405f5ae
2 changed files with 11 additions and 2 deletions
|
@ -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));
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue