Export an app

Build a mapplication for an address of your own, download it, and put it on your own web server.

These calls go to the API’s address and send your session, as in The basics.

Say where it will live

An export is built for the address you’ll host it at: an https address of your own. Save it on the mapplication as exportBaseUrl, as in Change an app:


{
"mapplication": {
"id": "d54d8cf0-3fc4-4fd0-a6e6-fdb01b8ab48e",
"exportBaseUrl": "https://maps.example.com/harbour-days/",
…
},
"expectedUpdated": "2026-11-25T19:22:47.365Z"
}

200 OK

{
"mapplication": {
"exportBaseUrl": "https://maps.example.com/harbour-days/",
…
},
"updated": "2026-11-25T19:23:50.329Z",
…
}

It changes nothing on mapifest.app, where the mapplication can stay published.

Export it

Exporting builds the app for that address, and the mapplication doesn’t need to be published. Like a publish, the call answers at once, while the build goes on:


202 Accepted

{
"success": true,
"message": "Export started"
}

An export counts as one of the day’s publishes. Add ?web-server-config=apache, netlify or cloudflare to the call, and the export puts that host’s settings in place.

Wait for it

Ask about the mapplication every few seconds, until it’s no longer exporting. This one took 12 seconds:


200 OKWhile it builds

{
"exportInProgress": true,
…
}

200 OKOnce it’s done

{
"exportInProgress": false,
"lastExport": {
"url": "https://…",
"created": "2026-11-25T19:24:03.088Z",
"version": 2,
"baseUrl": "https://maps.example.com/harbour-days/"
},
…
}

lastExport says when the export was made, for which address, and where to download it.

Put it on your web server

Download lastExport.url, which works for a day and needs no session. It’s a tar archive of one folder, named after the end of your address: here harbour-days.

Upload what’s in the folder to your address, and the app works there as it does on mapifest.app. Your web server needs a few settings, which server-config in the folder holds for Apache, nginx, Caddy, Netlify, Cloudflare Pages and Traefik, with notes on each.