A lightweight, browser-based tool that lets event riders visualize elevation over distance for equestrian cross-country courses.
It fetches course data from the CrossCountry App API and plots it as a clean, interactive elevation chart to help riders preview terrain before riding.
π Try It Live
To view course elevation profiles, you can use the live demo with the following course IDs, which are known to work well:
gcptey(Melbourne)vdwk2d(Bramham)wplcez(Bromont)
Use the live demo link with one or multiple IDs like this:
https://sarika-sh.github.io/cross-country-elevation/?ids=gcptey
Or to compare multiple courses, separate IDs with commas:
https://sarika-sh.github.io/cross-country-elevation/?ids=gcptey,vdwk2d,wplcez
Note: Using other course IDs from the CrossCountry App may not always return data due to API limitations.
- π Elevation graphs for horse riding cross-country courses
- π Relative elevation mode: All routes start at the same height for easy comparison
- π¨ Unique color for each route
- π§ Interactive legend (click to toggle lines)
- π§ Hover tooltips with distance + elevation
- π± Fully responsive & mobile-friendly
- HTML5 + CSS3
- JavaScript (Vanilla)
- Google Maps Elevation API
- CrossCountry App API
π¦ cross-country-elevation βββ index.html # Main HTML page βββ script.js # Core logic (fetch, render, tooltips) βββ style.css # Styles for the app βββ README.md # You're here!
- Option to switch between relative and absolute elevation modes
- Better mobile support & touch interactions
- Download graph as PNG
- Shareable links with pre-loaded IDs
- CrossCountry App β for course data
- Google Maps Platform β for elevation data