No map token
Reset the MapKit token to load Apple Maps. You can still build an itinerary by typing exact coordinates as lat, lng in the add field (e.g. 37.7749, -122.4194).
This prototype uses Apple MapKit JS. The recommended setup
is to run the bundled dev server, which signs a JWT server-side from
your .p8 key:
cp .env.example .env # then fill in TEAM_ID, KEY_ID, key path
npm install
npm run dev
The server exposes /api/token, which this page fetches
automatically — no pasting needed. Your .p8 never reaches
the browser. Reload this page after starting the server.
If you already have a JWT (e.g. signed elsewhere), paste it here.
It will be cached in localStorage.
Reset the MapKit token to load Apple Maps. You can still build an itinerary by typing exact coordinates as lat, lng in the add field (e.g. 37.7749, -122.4194).