Long Distance Map
Plot two cities, compare local clocks and distance, and send an animated flight with a letter for the recipient to open on arrival.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
Long Distance Map
Map two cities anywhere in the world with great-circle distance, live local clocks, timezone offset, an animated flight arc, and a shareable love letter.
Plot any two cities on an interactive Leaflet world map to see the exact great-circle distance, live side-by-side local clocks, and calendar day differences alongside a personal message sealed until arrival. City search queries geocoding-api.open-meteo.com (with photon.komoot.io as a fallback), coordinate timezone fallback uses timeapi.io when needed after offline tz-lookup, and map tiles load from basemaps.cartocdn.com or tile.openstreetmap.org, while your names, cities, and letter stay entirely in your browser's localStorage and shareable #ldm= URL hash.
How to use Long Distance Map
- 1
Pick a quick preset from Try a sample route or enter Your Name and Receiver's Name alongside both cities using the Your City and Receiver's City autocomplete dropdowns.
- 2
Write your note in the Personal Message box (or load one of the four Optional starters) and check the live Journey Preview panel on the right, including the sealed or unfolded letter preview.
- 3
Click Create My Map (or Open Map) to launch the interactive Leaflet world map with custom city pins, great-circle distance, and live local clocks.
- 4
Press Start the Journey to fly the plane across the route—using Pause, 1x/1.5x/2x speed, or Skip Journey anytime—then click Copy Link to share the #ldm= URL with your recipient.
Why use Long Distance Map
Antimeridian-aware great-circle route
Computes Haversine surface distance and continuously unwraps spherical coordinates so trans-Pacific and near-antipodal flights arc smoothly without snapping across the map.
Synchronized dual live clocks
Resolves IANA time zones offline via coordinates with API fallback, showing ticking local times, daylight vs. night indicators, UTC offsets, and Tomorrow/Yesterday badges.
Controllable flight & sealed letter
Watch the airplane follow the geodesic path with Start, Pause/Resume, 1x/1.5x/2x speed controls, Skip Journey, and Replay Journey before the airmail letter unfolds.
Private URL-hash & localStorage sharing
Your names, selected coordinates, and personal note are encoded into a compact #ldm= URL hash for one-click sharing and saved locally in your browser—never stored on a backend server.
Common use cases
- Send a long-distance partner or close friend a shareable map link where an animated flight crosses the great-circle route between your cities before unfolding your letter.
- Compare real-time local clocks, day/night phases, and exact hour-and-minute offsets across unusual time zones (such as half-hour and 45-minute offsets or crossing the International Date Line).
- Measure the true surface distance in kilometres and miles between any two towns or cities worldwide with instant route framing and coordinate pins.
Frequently asked questions
How is the distance between two cities calculated?
Distance is calculated using the Haversine great-circle formula on Earth's mean radius (6,371.0088 km), and the map plots a sampled spherical geodesic arc between your confirmed coordinates.
Link to answerHow does city search handle small towns or duplicate city names?
As you type into Your City or Receiver's City, results show region, country, and latitude/longitude coordinates so you can pick the exact match. Comma-separated qualifiers, state abbreviations, and country aliases like NYC or London UK are supported.
Link to answerAre my names and personal letter uploaded to a server?
No. Your draft is stored in browser localStorage, and clicking Copy Link encodes your journey into the URL's #ldm= hash fragment, which is decoded client-side by the recipient's browser.
Link to answerCan the recipient control or skip the flight animation?
Yes. On the map screen, the recipient can press Start the Journey, Pause or Resume mid-flight, switch playback speed between 1x, 1.5x, and 2x, toggle Reduced motion, Skip Journey to open the letter immediately, or Replay Journey after arrival.
Link to answerWhy do some city pairs show a Tomorrow (+1 day) or Yesterday (-1 day) badge?
When two cities fall on opposite sides of midnight or across the International Date Line (like Auckland and Los Angeles), the Destination clock highlights the calendar day difference alongside the exact hour and minute offset.
Link to answer