diff --git a/apps/planner/app/components/ElevationChart.tsx b/apps/planner/app/components/ElevationChart.tsx
index 382d917..6d60b66 100644
--- a/apps/planner/app/components/ElevationChart.tsx
+++ b/apps/planner/app/components/ElevationChart.tsx
@@ -582,9 +582,35 @@ export function ElevationChart({ yjs, onHover, days }: ElevationChartProps) {
return (
-
- {colorMode === "grade" ? t("elevation.grade") : colorMode === "highway" ? t("elevation.highway") : colorMode === "maxspeed" ? t("elevation.maxspeed") : colorMode === "smoothness" ? t("elevation.smoothness") : colorMode === "tracktype" ? t("elevation.tracktype") : colorMode === "cycleway" ? t("elevation.cycleway") : colorMode === "bikeroute" ? t("elevation.bikeroute") : t("elevation.profile")}
-
+ {(() => {
+ const osmLinks: Record
= {
+ highway: "https://wiki.openstreetmap.org/wiki/Key:highway",
+ maxspeed: "https://wiki.openstreetmap.org/wiki/Key:maxspeed",
+ surface: "https://wiki.openstreetmap.org/wiki/Key:surface",
+ smoothness: "https://wiki.openstreetmap.org/wiki/Key:smoothness",
+ tracktype: "https://wiki.openstreetmap.org/wiki/Key:tracktype",
+ cycleway: "https://wiki.openstreetmap.org/wiki/Key:cycleway",
+ bikeroute: "https://wiki.openstreetmap.org/wiki/Tag:route%3Dbicycle",
+ };
+ const titles: Record = {
+ grade: t("elevation.grade"),
+ highway: t("elevation.highway"),
+ maxspeed: t("elevation.maxspeed"),
+ smoothness: t("elevation.smoothness"),
+ tracktype: t("elevation.tracktype"),
+ cycleway: t("elevation.cycleway"),
+ bikeroute: t("elevation.bikeroute"),
+ };
+ const title = titles[colorMode] ?? t("elevation.profile");
+ const link = osmLinks[colorMode];
+ return link ? (
+
+ {title}
+
+ ) : (
+ {title}
+ );
+ })()}
{colorMode === "grade" && (<>
{"<3%"}