Map Publishing
Show your published itineraries, zones and collections outside your organization: on your own site, behind a share link, as a route file, or as a video.
The map above is a live embed of a published itinerary.
- Allowed domains. The embed loads only on the sites listed under Organization → Security. Mountaya keeps that list: tell us every host you embed on, such as
maps.example.com, andlocalhost:3000to develop locally. - A publishable key (
pk_…) with thepublishingscope, from Organization → API keys in the Mountaya app. - Published content. The embed and share links show only what you publish.
- A session endpoint, if required. When your organization requires session tokens, your server mints one for the embed. See session tokens.
An itinerary is edited as a draft. Publish it to show it outside your organization: Publish in Map Studio, or the Map Studio API.
Zones publish the same way. A collection embed, or a collection's share link, shows the collection's zones that are published and public.
Paste one <iframe> on your site. Its query parameters choose the content and the controls, and postMessage events drive it once it has loaded.
A share link opens one published itinerary, or a collection, to whoever holds it, with no page of your own. Mint one in Map Studio or with the Map Studio API.
Visitors download a published itinerary from the embed as GPX, KML, KMZ, GeoJSON, FIT, TCX, or CSV. Your code exports the same files with the Map Studio API.
Map Studio records an itinerary as a video, with its elevation profile in the frame. Embedded Studio offers the same flow: see export a video.
Mountaya publishes two ways to put its map in your product, and they are different products that share a vocabulary.
Map Publishing serves the hosted embed: the studio's map in an iframe, configured by URL and authenticated with a publishable key. No build step, no React, no bundle: you paste one tag and the whole published map arrives.
@mountaya/elements-react is the same map as components in your own tree: your layout, your controls, your state, your bundle. You compose the map view, the control stack and the panels yourself, and an elevation profile or a route table renders with no map at all.
Choose the iframe when you want a map. Choose the elements when you want to build one.