[ case study · the lab ]

AeroGuide 3D: from a Gemini build to a working app

An app that turns one line of text into a narrated aerial tour arrived as an export from Google AI Studio, where it had been built with Gemini 4 Hydrogen. It worked — for whoever happened to be sitting in front of it. It needs two API keys of its own and costs money per tour, so there was no link to hand anyone. These are the two features I added so it could be shown.

Gemini Google Maps 3D React Express TypeScript Claude Code

November 2026 · built with Claude Fable 5.2, medium effort

$ watch_the_flights → ./read_the_guide

Where it started

The project came to me as a complete application of about 2,100 lines, exported from Google AI Studio. You type a city or a theme; it generates a four-to-six-stop aerial tour over Google's photorealistic 3D map, flies the camera to each landmark, orbits it, and narrates it aloud.

Under that is a React front end with a small Express server. The server asks Gemini to research real places using Google Maps, asks it again to turn that research into a structured itinerary, and uses Gemini text-to-speech for the narration.

AeroGuide 3D running: a left panel lists the six stops of "Tudor and Royal London Along the Thames" with their coordinates, while the 3D map shows Lambeth Palace on the river with numbered pins. A panel at the bottom reads "Stop 2 of 6 — Lambeth Palace", with the narration, an architectural note, and the playback controls.

// a saved tour replaying, stop 2 of 6 · imagery: Google Maps photorealistic 3D tiles

What I added

1. Recording mode

The app needs two API keys and costs money per tour, so handing out a link was never the plan: the way to share it is video. Recording mode exists for that. Pressing R, or the camera button beside the voice selector, hides the sidebar and the playback dock and leaves the map with a small caption for the current stop. Space replays the tour from stop 1, Esc exits.

The same tour in recording mode: the panels are gone, leaving the 3D view over Whitehall and the Thames with the London Eye behind, numbered pins on the buildings, the Google Maps logo in the corner, and one caption reading "4 / 6 — Tudor and Royal London Along the Thames · Banqueting House".

// recording mode: one caption, the pins, and the Google attribution that has to stay visible

2. Saved tours

  • Save. A Save tour button writes the itinerary and the narration audio into a saved-tours/ folder, one subfolder per tour — about 6.6 MB for six stops.
  • Replay. A Saved tours list in the sidebar reloads a tour instantly, skipping the minute of generation and playing the stored audio without calling Gemini at all.
  • Delete. Each row has a delete button with a confirmation step, because the audio is not recoverable.
  • Tests. Seven new unit tests cover the storage code, taking the suite from 11 to 18.

This is the feature that makes the videos possible. A recording needs several takes, and a tour that is regenerated between takes comes back with different words, a different route and a different voice performance. A saved tour is identical every time it plays.

How it was verified, and what wasn't

Both halves matter, so here is the honest version.

  • The server. Real tours and real audio came back from both endpoints using my own Gemini key.
  • The 3D map. With my Maps key the photorealistic map loaded, and a Barcelona tour flew from Rome, advanced to stop 2, and orbited while narrating. Stops 3 to 6 went unwatched, and audio could be seen playing but not heard.
  • Recording mode. In Chrome, the panels hid, Space returned the tour to stop 1, and Esc restored them.
  • Saved tours. Save, load, delete and re-save all worked. With the Gemini key deliberately broken, saved narration still came back in 16 ms — which is the proof that it is read from disk and not regenerated.

What I learned

Anything generated fresh each time cannot be filmed. A recording takes several attempts, and a tour regenerated between them comes back with different words, a different route and a different voice performance — so no two takes would ever cut together. Writing the itinerary and the audio to disk was not a convenience feature; it was what made a second take possible at all.

The other lesson is about what an export leaves out. The export was feature-complete for someone sitting in front of it; it was missing everything needed to show it to anyone else. Recording mode and saved tours are both unglamorous, and together they are the difference between a demo I can run and a demo I can publish.

The app runs on my laptop, not on this site: it needs a Gemini key and a Google Maps key of its own, and each generated tour costs money. The guide and the recorded flights are the published version. Imagery throughout is Google Maps photorealistic 3D, and the Google attribution stays visible in every frame.

Want something like this for your team?

A short plan back within 2 business days: problem, approach, deliverables, price, timeline.

$ request_proposal → ./read_the_guide