3 Commits

Author SHA1 Message Date
vcoppe 61e4ca2721 New translations elevation.mdx (Dutch)
[ci skip]
2026-05-29 10:39:26 +02:00
vcoppe 08045b031c New translations map-controls.mdx (Dutch)
[ci skip]
2026-05-29 10:39:24 +02:00
vcoppe 6fcf61b407 New translations en.json (Dutch)
[ci skip]
2026-05-29 10:39:22 +02:00
5 changed files with 6 additions and 9 deletions
@@ -24,7 +24,7 @@ liveQuery(() => db.overpassdata.toArray()).subscribe((pois) => {
}); });
export class OverpassLayer { export class OverpassLayer {
overpassUrl = 'https://overpass.gpx.studio/api/interpreter'; overpassUrl = 'https://overpass.private.coffee/api/interpreter';
minZoom = 12; minZoom = 12;
queryZoom = 12; queryZoom = 12;
expirationTime = 7 * 24 * 3600 * 1000; expirationTime = 7 * 24 * 3600 * 1000;
+1 -4
View File
@@ -59,10 +59,7 @@ export class StyleManager {
terrainSource.subscribe(() => this.updateTerrain()); terrainSource.subscribe(() => this.updateTerrain());
customLayers.subscribe(() => this.updateBasemap()); customLayers.subscribe(() => this.updateBasemap());
distanceUnits.subscribe(() => { distanceUnits.subscribe(() => {
const map = get(this._map); if (get(currentBasemap) === 'libertyTopo') this.updateBasemap();
if (map && (map.getLayer('contours_m') || map.getLayer('contours_ft'))) {
this.updateBasemap();
}
}); });
} }
+1 -1
View File
@@ -59,7 +59,7 @@ title: 地图控件
<DocsLayers /> <DocsLayers />
<span class="text-sm text-center mt-2"> <span class="text-sm text-center mt-2">
鼠标悬停在地图上,可在地形图底图上方显示 <a href="https://hiking.waymarkedtrails.org" target="_blank">Waymarked Trails 徒步路线</a> 叠加层。 Hover over the map to show the <a href="https://hiking.waymarkedtrails.org" target="_blank">Waymarked Trails hiking</a> overlay on top of the topographic basemap.
</span> </span>
</div> </div>
@@ -18,7 +18,7 @@ title: 请求海拔数据
<DocsNote> <DocsNote>
海拔数据来自 <a href="https://mapterhorn.com" target="_blank">Mapterhorn</a> Elevation data is provided by <a href="https://mapterhorn.com" target="_blank">Mapterhorn</a>.
查阅 <a href="https://mapterhorn.com/attribution/" target="_blank">官方文档</a> 以了解海拔数据来源及其准确度。 You can learn more about its origin and accuracy in the <a href="https://mapterhorn.com/attribution/" target="_blank">documentation</a>.
</DocsNote> </DocsNote>
+1 -1
View File
@@ -235,7 +235,7 @@
}, },
"elevation": { "elevation": {
"button": "请求海拔数据", "button": "请求海拔数据",
"help": "请求成功后将移除原有的海拔数据,并使用 Mapterhorn 的海拔数据替换原有数据。", "help": "Requesting elevation data will erase the existing elevation data, if any, and replace it with data from Mapterhorn.",
"help_no_selection": "选择要请求海拔数据的文件。" "help_no_selection": "选择要请求海拔数据的文件。"
}, },
"waypoint": { "waypoint": {