Iframe parameters
Everything about an embed is set through query parameters on the iframe src. This page is the complete reference, grouped by purpose. Every parameter is optional except the publishable key: a bare embed renders a default interactive map.
Where a parameter has a default, it follows a fixed precedence. The URL value wins; if it is absent, your organization's default for that field applies; if that is also unset, the built-in default below applies. Boolean parameters take the textual values true or false.
Credentials
publishable_keystring
Your publishable key (pk_…) with the embedding scope. It resolves your organization and authorizes the embed. Required: an embed without a resolvable publishable key renders a loader rather than a map.
session_tokenstring
A short-lived session token (sess_…). Required only when your organization enforces session tokens (require_session_token). See authentication.
Content selection
The content parameters choose what the map shows.
itinerary_idstring
The itinerary to display.
collection_idstring
A collection to display: the studio renders the itineraries and zones it contains. Pass it on its own for a map of the whole collection, or alongside itinerary_id to open that collection focused on one of its itineraries. Which of the two layers actually draws is decided by your organization, not by this URL: each is withheld server-side when your organization turns it off, and there is no query parameter that asks for either one. An embed can therefore render a collection with its zones and no itineraries, or the reverse.
zone_idstring
A zone to display on the map.
activitystring
The activity context for the map, as a wire-form slug (for example hikingandtrail). See the activities table.
Display
These parameters set the map's appearance and the initial camera.
terrainstring
default: topo
The basemap terrain slug. Defaults to topo when neither the URL nor your organization specifies one.
terrain_variantstring
default: light
The basemap tint, light or dark.
segments_colorstring
One hex color for every itinerary segment, applied to the map lines, the start and end markers, and the elevation profile bands. Waypoint markers keep the colors they were given. Omit it to use your organization's default; pass it empty (segments_color=) to keep each segment's own color on this embed even when your organization sets one.
overlaystring
A single environmental overlay to show on load, by its slug (for example temperature-actual). See the overlays table.
enrichmentsstring[]
Enrichment overlays to stack on the map on load, each by its slug (for example hillshade). Pass each value as a repeated query parameter, like with_overlays. See the overlays table.
time_offsetnumber
The forecast time for weather and snow overlays, as a count of minutes from the viewer's current clock (negative is the past). It is clamped to the studio's forecast window, roughly 71 hours back to 6 days forward. Omitted means "now". The offset is relative on purpose, so a shared link to "+6 days" means six days from whoever opens it, not a frozen instant.
viewstring
The initial camera, carried in the URL hash rather than the query string as #view=zoom/lat/lng, optionally with bearing and pitch (#view=zoom/lat/lng/bearing/pitch). The studio writes this hash as the viewer pans and zooms, so copying a live embed URL preserves the camera.
Viewer preferences
The preferred_* parameters set the embed's initial display preferences. Each is optional; when omitted, the studio falls back to your organization's default and then to a built-in default.
These set the Map Embedding iframe's initial display preferences. Each is optional; when omitted, the studio falls back to your organization's defaults and then to a built-in default.
preferred_languagestring
The locale for the studio's interface, one of en, fr, es, it, de, zh, ja. See the languages reference.
UI controls
The with_* parameters toggle which controls and panels appear. Each is a boolean; the default column is the value used when neither the URL nor your organization specifies one.
Map controls
with_navigation_controlboolean
default: true
The zoom and compass control.
with_overlays_controlboolean
default: false
The overlay picker, letting the viewer toggle environmental overlays.
with_preferences_controlboolean
default: true
The preferences control for units, language, and theme.
with_download_controlboolean
default: false
The download control for exporting the displayed content.
with_directions_controlboolean
default: false
The directions control.
with_streetview_controlboolean
default: false
The street view control.
Elevation and analysis panels
with_profile_elevationboolean
default: true
The elevation profile chart.
with_profile_characteristicsboolean
default: true
The terrain characteristics breakdown (surface, way type).
with_profile_analysisboolean
default: false
The slope and gradient analysis.
Allowlists
Two parameters take a list of slugs rather than a single value. Pass each value as a repeated query parameter, for example ?with_overlays=hillshade&with_overlays=steepness.
with_overlaysstring[]
The overlays the viewer may choose from in the overlay picker. When omitted, your organization's default allowlist applies. See the overlays table for the slugs.
with_terrainsstring[]
The basemap terrains the viewer may switch between. When omitted, your organization's default allowlist applies.
Activities
The activity parameter takes the lowercase, underscore-free wire form.
Each activity routes on a profile tuned to its terrain and movement style. Directions availability varies: most activities support turn-by-turn routing, backcountry skiing is freehand-line only, and cycling activities are not yet available for routing. The GraphQL ActivitySlug enum uses the uppercase value; the Map Studio and Tile APIs use the lowercase, underscore-free wire form.
Overlays
The overlay parameter and the with_overlays allowlist take these overlay slugs.
Weather and snow overlays accept a timestamp query parameter to select a forecast step; static overlays (pois, hillshade, steepness, aspectslope) ignore it.