Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ This project includes the following third-party software:

- Map data: OpenStreetMap contributors (ODbL 1.0)
- Map tiles: OpenFreeMap (https://openfreemap.org)
- Satellite imagery: Esri, Maxar, Earthstar Geographics
- Satellite imagery: EOX IT Services GmbH — Sentinel-2 cloudless 2020 (CC BY 4.0) — https://s2maps.eu
- Geocoding: Nominatim / OpenStreetMap (ODbL 1.0)
6 changes: 3 additions & 3 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ input,textarea,select{font-family:var(--font)}
#map{width:100%;height:100%}
#map:not(.dark-map):not(.sat-mode) canvas{filter:brightness(0.85)}
#map.dark-map canvas{filter:brightness(1.8) contrast(0.9);will-change:filter}
#esri-attribution{display:none;position:absolute;bottom:6px;left:6px;background:rgba(30,30,30,.6);color:#aaa;font-size:.55rem;padding:2px 6px;border-radius:4px;z-index:2;pointer-events:auto}
#esri-attribution a{color:var(--accent);text-decoration:none}
#map.sat-mode~#esri-attribution{display:block}
#sat-attribution{display:none;position:absolute;bottom:6px;left:6px;background:rgba(30,30,30,.6);color:#aaa;font-size:.55rem;padding:2px 6px;border-radius:4px;z-index:2;pointer-events:auto}
#sat-attribution a{color:var(--accent);text-decoration:none}
#map.sat-mode~#sat-attribution{display:block}
.maplibregl-ctrl-bottom-right{bottom:16px!important;right:2px!important}
.maplibregl-ctrl-group{background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:10px!important;overflow:hidden;box-shadow:var(--shadow)!important}
.maplibregl-ctrl-group button{background:var(--surface)!important;border-bottom:1px solid var(--border)!important}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<div id="map-loading-status">Starting…</div>
</div>
</div>
<div id="esri-attribution">&copy; <a href="https://www.esri.com/" target="_blank">Esri</a></div>
<div id="sat-attribution">&copy; <a href="https://s2maps.eu" target="_blank">EOX</a> (Sentinel-2 cloudless)</div>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const STYLE_BRIGHT = 'https://tiles.openfreemap.org/styles/bright';
const STYLE_DARK = 'https://tiles.openfreemap.org/styles/dark';
const STYLE_SAT = {
version:8,
sources:{sat:{type:'raster',tiles:['https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}'],tileSize:256,maxzoom:19}},
sources:{sat:{type:'raster',tiles:['https://tiles.maps.eox.at/wmts/1.0.0/s2cloudless-2020_3857/default/g/{z}/{y}/{x}.jpg'],tileSize:256,maxzoom:18}},
layers:[{id:'sat',type:'raster',source:'sat',paint:{'raster-fade-duration':0}}]
};
function normalizeDarkLabels() {
Expand Down
Loading