Zero host-page scripts
Paste a single standard HTML <iframe> into WordPress, Ghost, Astro, Hugo, Notion, or plain HTML—no third-party SDK, bundler plugin, or API token required.
Embed Widget Documentation
Add any public Ściežka cycling, gravel, bikepacking, or hiking route to a blog post, club event calendar, race handbook, or static documentation page with a single HTML <iframe> tag. Visitors get vector map zoom, cooperative scroll protection, surface and slope gradient coloring, an interactive elevation chart, checkpoint pins, multi-day stage tabs, and a direct link back to inspect cues or export GPX files—with zero host-page JavaScript dependencies or API keys.
| Parameter | Accepted Values | Default | Behavior |
|---|---|---|---|
| theme | auto | light | dark | auto | Follows the visitor’s OS/browser color scheme when set to auto, or pins light Stone or dark Graphite map and glass UI tokens. |
| lang | en | pl | be | Browser locale | Sets widget labels, controls, elevation metrics, and surface names to English, Polish, or Belarusian. |
| interact | auto | click | auto | auto initializes WebGL lazily via IntersectionObserver (~200px viewport margin); click renders a static preview card with zero WebGL or map tiles until clicked. |
| panel | none | elevation | pois | none | Controls which bottom glass sheet opens on initial load: clean map only (none), interactive elevation graph (elevation), or checkpoint ribbon (pois). |
| elevation | 1 | 0 | 1 | Enables or hides the interactive Elevation sheet toggle button (auto-hidden when route coordinates contain no altitude data). |
| pois | 1 | 0 | 1 | Enables or hides route waypoint/checkpoint pins on the map and the expandable Checkpoints ribbon. |
| gpx | 1 | 0 | 1 | Shows or hides the GPX link-out action that opens the canonical route page on scezka.com for GPX export, cue sheets, and GPS sync. |
| km | 1 | 0 | 0 | Draws distance kilometer markers along the active route line (per-stage distance markers when a single multi-day stage is selected). |
| color | solid | surface | gradient | solid | Initial route line styling: classic solid track accent, OpenStreetMap surface type segmentation, or smoothed slope gradient colors. |
| credit | 1 | 0 | 1 | Snippet generator flag adding a small semantic <figcaption> link under the <iframe> to attribute the route page and preserve canonical SEO link equity. |
| height (HTML attribute) | 240–900 px | 440 px | Recommended responsive CSS height on the <iframe> element; adapts cleanly down to 320px mobile viewports. |
Paste a single standard HTML <iframe> into WordPress, Ghost, Astro, Hugo, Notion, or plain HTML—no third-party SDK, bundler plugin, or API token required.
Viewport IntersectionObserver, system UI font rendering, collapsed module chunks, and optional interact=click facades keep multi-route event calendars fast on mobile.
Single-day rides and multi-stage trips expose clean Day 1..N pills, auto-sized checkpoint ribbons, surface/gradient layers, and synced map-hover elevation profiles.
Served strictly over HTTPS with coop scroll zoom, opaque sandbox fallback handling, zero ad trackers, and hard exclusion of private and Strava-synced activities.
Any public route published in the Ściežka community catalog has a dedicated read-only embed endpoint at /embed/r/{slug}. You do not need to write configuration JavaScript or manage vector tile keys: configure colors, theme, language, and open panel directly from the Share → Embed panel on any public route page, or build the query string manually using the parameter table above.
Wrapping the <iframe> in a semantic <figure> with loading="lazy" and an optional <figcaption> route link keeps both host layout semantics and route attribution crystal clear.
<figure style="margin:0">
<iframe
src="https://scezka.com/embed/r/vano-coffe-ride-83-1-km-540m-ridden-81d497b14643?theme=auto&interact=auto&panel=none&color=solid"
title="Vano Coffee Ride (83.1 km · 540 m up) — Ściežka"
width="100%"
height="440"
loading="lazy"
style="border:0;border-radius:12px;display:block"
allowfullscreen
referrerpolicy="strict-origin-when-cross-origin"
></iframe>
<figcaption style="margin-top:6px;font:12px/1.4 system-ui,sans-serif;color:#52605a">
<a href="https://scezka.com/r/vano-coffe-ride-83-1-km-540m-ridden-81d497b14643?utm_source=embed&utm_medium=iframe" target="_blank" rel="noopener">Vano Coffee Ride — View full stats & GPX on Ściežka</a>
</figcaption>
</figure>Embedding ten interactive WebGL maps on a single brevet calendar or bikepacking stage guide can quickly exhaust browser GPU contexts and starve mobile CPUs if every map boots eagerly on initial page load. Ściežka’s embed widget is engineered specifically to avoid weighing down host pages.
When interact=auto is used alongside native iframe loading="lazy", the embed delays loading MapLibre GL, its Web Worker, and vector tiles until the iframe approaches the visitor’s viewport. Inside the widget, typography uses the visitor’s native system UI font stack (zero custom webfont downloads), GPU tile cache is capped, tile fade animations and inertial rotation are disabled, and elevation arrays are only parsed when the user opens the Elevation chart or selects Gradient coloring.
For pages with 4 or more embedded routes—such as an Audax brevet series calendar, club ride archive, or stage-by-stage race guide—use interact=click. In click mode, each embed initially renders an ultra-lightweight preview card with route title, distance, elevation gain, Interactive Map button, and GPX link, creating zero WebGL contexts and making zero map tile requests until clicked.
<iframe
src="https://scezka.com/embed/r/eclair-gravel-ride-17d14f20e536?interact=click&color=surface&theme=auto"
title="Eclair Gravel Ride — Ściežka"
width="100%"
height="380"
loading="lazy"
style="border:0;border-radius:12px;display:block"
allowfullscreen
></iframe>By default (panel=none), the map opens clean with only a floating title/metrics card in the top-left corner, a Ściežka brand link in the top-right corner, and a compact bottom control dock. Clicking Elevation, Checkpoints, or the route line style switcher opens one bottom glass layer at a time so widgets never collide on mobile screens.
For multi-day routes created in the Trip Planner, stage selector chips appear automatically inside the floating route card. Selecting a specific day highlights its stage track over dimmed context geometry, updates distance/ascent telemetry, recalculates the stage elevation curve, and focuses the map camera automatically. All GPX action links direct riders to the canonical route page on scezka.com with UTM context so they can inspect turn-by-turn roadbooks, download GPX files without paywalls, or send the course to their GPS head unit.
Embed frames send strict security headers and permit framing over encrypted HTTPS origins (frame-ancestors https:). If a host page wraps the iframe with a restrictive sandbox attribute that strips same-origin access (opaque null origin), the widget automatically displays a crisp fallback card linking straight to the canonical route page instead of failing silently.
Only intentionally published, moderation-approved public community routes can be embedded. Private user routes, unlisted share tokens, and activities imported from Strava or wearable fitness integrations are strictly excluded from public embed endpoints and never appear in iframes.
Inspect real public routes built and shared on Ściežka: complete with NASA SRTM elevation profiles, OpenStreetMap surface telemetry, pacing tables, and free GPX downloads:
Mixed-surface gravel loop combining fast compact forest doubletrack, rolling country lanes, and verified unpaved sectors with GPX and roadbook export.
Community cycling loop featuring elevation profile analysis, milestone checkpoints, and printable turn-by-turn cue sheets.
Balanced 83.1 km loop with smooth tarmac surfaces, moderate 540 m climbing profile, and ready-to-print 50mm cockpit strip cues.
Scenic ridge and forest hiking route connecting historic ruins and mountain viewpoints with footpath surface telemetry and offline GPX navigation.
Yes, embedding public community routes is completely free and requires no API key, billing account, or JavaScript SDK.
No, provided you follow the multi-route guidelines: keep loading="lazy" on every iframe and pass interact=click on pages with 4 or more routes so WebGL and map tiles only load when a reader chooses to inspect that specific map.
No. Only moderation-approved, non-Strava routes intentionally published to the public Community Routes catalog are accessible at /embed/r/:slug.
The embed UI adapts down to 320px width, using two-finger cooperative panning so page scrolling stays natural, collapsing attribution controls cleanly, and keeping only one bottom panel (Elevation, Checkpoints, or Color) open at a time.
Clicking GPX in the bottom dock or on the preview card opens the canonical public route page on scezka.com in a new tab, where riders can download clean GPX 1.1 tracks, view cue sheets, or sync to GPS computers for free.