Meridian Atlas SDK changelog
One version for every package (sdk/VERSION): the Swift package, the Android
SDK and core (dev.meridianatlas:atlas-android, atlas-core), React Native
(@meridianatlas/react-native), Flutter (meridian_atlas) and the server-side
TypeScript client (@meridianatlas/api).
Unreleased
Not yet released
Accessibility: the panels and car screens for VoiceOver, TalkBack, Reduce Motion and Increase Contrast
- The phone's panels read as sentences, in full words (
navigationUI; the SDK guide's "Accessibility"). The banner is one: "In 300 yards, bear left onto John Dalton Street, A34". It used to be read piece by piece ("0.2", "mi", "Bear left", "A34"…); the lanes weren't read at all, and the trip panel was "2", "min", "TIME". The lanes, trip panel, speed, status line, camera alert and arrival card now read as sentences too; the pictures and abbreviations on screen are hidden from the screen reader. - The map is one element ("Map, following your position"). VoiceOver and TalkBack used to read a hidden list of every road name in the scene, and the lab's "Interactive 3D building scene".
- Announced unprompted, politely, once: a new manoeuvre, a change of guidance status, a speed camera when it first
shows, an arrival. The banner used to announce itself every 10 yards (13 times in 15 seconds of driving, with the
camera alert's distance as well). With an
AtlasVoiceattached to the map (Swift and Kotlinmap.voice, React Native'sdeviceVoice, Flutter'smap.voice) the manoeuvres are left to the voice. - Reading order banner, lanes, status, trip panel, then the buttons (the buttons were read before the trip panel); the look is unchanged.
- Buttons: the mute button keeps its name ("Mute voice guidance") and says whether it is pressed (it used to change to "Unmute voice guidance" and say "pressed" as well); the overview button is "Route overview", as on CarPlay; Retry is "Retry finding a route", with a 48-point touch area (it was 32 points tall). A focus ring with a navy halo shows on any map (the accent ring alone was 2.4:1 against the day map).
- Reduce Motion and Increase Contrast reach the panels from the system (iOS Reduce Motion and Increase Contrast,
Android's Remove animations, high-contrast text and contrast level), whether or not the web view tells its page:
the camera cuts instead of easing (zoom included), the panels don't animate; with more contrast the panels are
opaque, with a visible edge, and white text sits on Meridian's deeper blues (7.6:1). The viewer (atlas-map-host-v1,
additive):
window.meridianAtlasMap.setAccessibility({reduceMotion, increaseContrast, voiceGuidance})and the capabilityaccessibility; Flutter's map channel addssetVoiceGuidance. - Contrast: the day panels' navy glass is 0.9 opaque (was 0.86), so the accent kicker (4.75:1, was 4.15) and secondary text (5.2:1, was 4.5) pass AA over the brightest map. By default the banner by day, Retry and the arrival card's main button keep Meridian's accent blue, whose white text is 2.8:1 (accent-dark at night, 4.0:1): see the guide's table.
- Car screens: CarPlay's alerts are built in one place, with labelled pictures ("Speed camera", "New route", "Warning") beside their titled buttons; the speed limit sign is one image element ("Speed limit 30 miles per hour", "Speed limit unavailable" when hidden). Android Auto's action strip is built from titled buttons (Retry, End, Simulate), which TalkBack reads; the Car App Library allows the map's own buttons no title or description.
- Speed limits and cameras (below) get the same: the speed panel reads "Speed 35 miles per hour. Speed limit 30, over the limit" (and "Speed limit 30 in 100 yards" for a lower limit ahead), going over is announced once ("Over the speed limit: 35 in a 30"), and a camera once as it is warned of ("Speed camera ahead, 30 miles per hour limit, in 300 yards"; an average speed check once, not its average), and not at all while an attached AtlasVoice says it. The camera panel is no longer a live region of its own. Over the limit is legible: the danger tint 0.12 (was 0.16, the speed 3.0:1 by day), the small unit in the panel's text colour, an average over the limit white on danger-dark (5.6:1), and with Increase Contrast the over-limit panel white on danger-dark. CarPlay's and Android Auto's speed sign say "Your speed 36 miles per hour, over the limit" and "Speed limit 30 in 200 yards" (they said "36 mph", "200 yd").
- Checked: the viewer smoke test's new
accessibilitycase reads Chrome's accessibility tree (as Android's WebView exposes it) by day and by night, upright and on its side: names, roles and states, reading order, live announcements, touch targets, Tab order and focus rings, contrast, Increase Contrast and Reduce Motion. Unit tests: the sentences and announcer (tests/navigation-a11y.test.ts), the native views telling the viewer (SwiftMapViewTests, KotlinAtlasMapViewTest), CarPlay's labels (CarPlayTemplateTests) and Android Auto's titled buttons (AtlasCarTest).
Speed limits and speed cameras: one set of rules on the phone, CarPlay and Android Auto
- One rule for over the limit, everywhere (
conformance/speed-alerts-v1.json, run by the map's panels and all four SDKs): the shown speed (whole mph or km/h, halves up) above the shown limit, plus an optional tolerance (speedTolerance, 0 to 10, 0 by default: on the map presentation,AtlasCarPlay.Options,AtlasCarandAtlasCarScreen.configure). Steadied: over shows once it has held for a second and goes two seconds after the speed is back within the limit (at once when the limit goes up), so hovering at the limit never flickers. - The phone's speed panel no longer pulses. Over the limit, the speed turns Meridian's danger colour on a lightly tinted panel; the sign stays a road sign (it used to fill solid red and pulse with a glow).
- CarPlay and Android Auto show over the limit too: the speed beside the sign in Meridian's danger colour. Before, the car screens showed only the limit.
- A lower limit ahead (40 to 30 in 200 m) shows as a small sign with its distance beside the sign, on the phone and both car screens, 12 seconds before it at the car's speed, when the route's speed limits have it.
- km/h limits read honestly: a UK 30 mph limit is 48 km/h on every surface; the car screens used to round it to 50, the phone to 48.
- Speed cameras warned of at distances that suit the road: 22.4 seconds before at the camera's limit or the car's speed, whichever is more (300 m on a 30 mph street, 700 m on a 70 mph road, 200 m to 1 km). Before, 400 m or 20 seconds at the car's speed, whatever the road.
- Average speed checks: two or more average speed cameras in a row along the route are one check, warned of at its first camera ("Average speed check ahead, 50 limit"); inside it the phone shows the average so far, in the danger colour once it is over the limit.
- Neutral wording, the same everywhere: "Speed camera", "Average speed check" (as UK signs say), "Red light camera" (no limit given), "Mobile camera site"; spoken "Speed camera ahead, 30 limit".
- Your app hears each moment:
AtlasSpeedAlertfrom the map view (Swift and KotlinonSpeedAlert, React NativeonSpeedAlert, FlutterspeedAlerts) and the car screen (AtlasCarPlay.onSpeedAlert,AtlasCar.onSpeedAlert,AtlasCarScreen'sspeed_alertevent):speed_limit_exceeded(withchime) andcamera_ahead(with itsannouncement, stagecamera). - The opt-in voice says cameras and can chime: an
AtlasVoiceattached to the map view or car screen says each camera once, whichever surface warns of it (speaksCameraAlerts, on by default), and plays a short soft chime as the driver goes over the limit (chimesOverLimit, off by default). React Native and Flutter:setCameraAlerts,setOverLimitChime,handleSpeedAlert,chime. Like the speech, the chime never sets the audio session or takes audio focus. - Helpers for your own speed panel (React Native and Flutter):
atlasShownSpeed,atlasShownLimit,atlasIsOverLimit,AtlasOverLimitTracker,atlasLimitAhead,atlasCameraWarningMetres,atlasCameraWording. - Fixed: cameras from the map's vector tiles lost their jurisdiction when decoded, so none was warned of on a map drawn from tiles alone.
Atlas Studio's first run: a key, a quick start and a real request in about two minutes
- The overview's checklist is three steps: create a key, copy a quick start, make a first request. Each step ticks itself off (the key and the request from the organisation's own data; copying a quick start in that browser), the next one has its button, and the checklist goes once all three are done, or for good in that browser with Hide. People who can't make keys (billing, viewers) don't see it.
- Making a key: Routes is ticked on an organisation's first key (what the quick start and Try it use); the app restrictions say what each one is in a line; the reveal is three numbered steps: the secret ("You won't see this secret again"), a quick start, and Try it.
- Quick starts from the compiled docs: iOS (Swift), Android (Kotlin), React Native and Flutter get the
website quickstart's install step and its "Get a route" (configuration and a first route), which
scripts/doc_snippets.pycompiles into each SDK's build; servers get curl (the website's REST example, which Studio's end-to-end test runs) and TypeScript (@meridianatlas/api's "Getting started", compiled). Each names the key in a comment; the secret is never in a snippet. A test fails if a quick start stops being one of the samplesdoc_snippets.py --listcompiles. - Try it: one real route request with the new key, from Studio: the distance and time, the first
instructions, the route's shape and the response JSON (folded). It goes through Studio's own
/v1/portal/*(POST /v1/portal/workspaces/{id}/try-route), which the Business API runs exactly asPOST /v1/routes(the key checked, the request metered and billed: one route, inside the free allowance). Only the organisation's own keys, from owners, admins and developers, 10 tries per person per 10 minutes; an app key is sent as the first app it lists. The secret goes only to the API, inX-Atlas-Key, and is never stored or logged. For a key made earlier, "Try a request" (keys page) and the checklist's Try it take a pasted secret. - Refusals say what to do: Studio reads each answer with the shared error table
(
conformance/sdk-errors-v1.json, checked against its replayed cases): a revoked key, a key without Routes, a rate limit, a point outside the UK, no usage package, and the rest, each with the next step and a link to its entry on Errors. - No email provider yet:
GET /v1/portal/auth/sign-upnow saysemailAvailable; without one, the sign-up and password-reset pages say so calmly in place of the form, and anything else that would email (resend, invitations) says the same instead of the raw 503. - The website's REST example sends
X-Atlas-Key: $ATLAS_API_KEY, the name the TypeScript client and Studio use (it said$ATLAS_KEY), and the website quickstart no longer says a key's features can be changed later (they're chosen when it's made). - Screenshots, desktop and phone side by side:
docs/sdk/screenshots/studio-first-run-*-2026-12-02.png(checklist, new key, quick start, Try it, outside the UK, a revoked key) andstudio-sign-up-without-email-2026-12-02.png. Secrets in them show only their public prefix.
The whole route at a glance, and recentre that comes back exactly
- The route overview. A new map button shows the rest of the trip: from the car to the destination
through every stop left, the stops numbered and the destination flagged. It is flat and north-up, as
the main rivals' are, and framed in the largest part of the map nothing covers (the panels, the system's
bars and cutouts, and your views given to
setInsets). Guidance carries on in it (the banner, the trip panel, the voice), the driver can pan and pinch it, and Recentre comes back.- On the phone (
navigationUI): a compact round button in Recentre's place while the camera follows the car on a route. It is a ninth panel,overview, last in the viewer's order and on by default; it needsrecentre(the way back). - On CarPlay and Android Auto: the fourth map button is Overview while guiding and Recentre once the driver has panned or zoomed, or in the overview. Leaving CarPlay's panning mode now recentres the map. A zoom now offers Recentre too (it used to need a pan).
- The API:
showOverview(),isOverviewand an overview event on every map view (Swift and KotlinonOverviewChanged, React NativeoverviewKeyandonOverviewChanged, FluttershowOverview()andoverviewChanges), andshowOverview()andrecentre()onAtlasCarPlay,AtlasCarand the plugins'AtlasCarScreen.isFollowingis false in the overview. - The viewer (atlas-map-host-v1, additive): the camera command
{action: "overview"}, the eventoverview_changed {overview}, and the capabilitiesoverviewandautoRecentre.
- On the phone (
- Recentre returns exactly to the following camera (its distance, height and heading-up) after a pan, a pinch or the overview; the viewer smoke test checks it to 2%. After a pan the camera now glides back to the car instead of jumping.
- Auto-recentre, off by default.
autoRecentreAfteron the map presentation (Swift seconds, Kotlin and React NativeautoRecentreAfterSeconds, Flutter aDuration; 2 to 600 seconds, anything else is refused as an invalid presentation) brings the camera back to the car that long after the map was last moved, waiting while a finger is on the map or no updates are arriving. Swift addsAtlasMapPresentationError.invalidAutoRecentre. - Known limit: the overview draws the route over the map's scenery near the car; further off it crosses plain ground, as the map has no low-detail map of a whole region yet.
- Screenshots: the CarPlay sample on an iPhone 17 Pro Max simulator, following and in the overview
(
docs/sdk/screenshots/route-overview-iphone-17-pro-max-2026-12-02.png), and the viewer smoke test's overview on its side at night (docs/sdk/screenshots/route-overview-landscape-night-viewer-smoke-2026-12-02.png). The overview follows day and night too: switching the appearance while it shows keeps it framed, in the new colours (the viewer smoke test'soverviewcase).
Day and night: the same on the phone, CarPlay and Android Auto
appearanceon the map presentation (all four SDKs), and on the map view to change it while the map shows:auto, the default: night when the phone is in dark mode, and from civil dusk to civil dawn where the car is whatever the phone is in (a phone in light mode gets a dark map after dusk, as Apple Maps, Google Maps and Waze do while navigating);system: the phone's light or dark mode alone;day,night: always that.
Swift
AtlasMapPresentation(appearance:)andmap.appearance; KotlinAtlasMapPresentation(appearance =)andmap.appearance; React NativeatlasMapPresentation({ appearance }), whose appearance the map takes whenever the presentation changes; FlutterAtlasMapPresentation(appearance:), a rebuiltAtlasMapView, orcontroller.setAppearance. Before, the phone's map went by the sun at the route's start and ignored dark mode.Everything switches together, in place. The sky, the lighting, every road, building, tree and road name around the car and the street window ahead, and the built-in panels, with no reload: the route, the session's progress and the camera stay as they were. Before, the sky and the panels switched but the streets kept their old colours, and the street windows ignored a car screen's night altogether (they went by the sun).
No flash of the other appearance while the map loads. The map view paints Meridian's day ground or night surface (#ECEEE9, #1A2535) behind the page, the page shows nothing until it knows which it is, and the map shows from its first frame (before, a night map loaded on a light blue page, and the panels started in day).
The sun, worked out on the device (no service): civil dawn, sunrise, sunset and civil dusk agree with the US Naval Observatory's published times to within a minute across the UK, all year (
conformance/sun-times-v1.json: Manchester, London, Edinburgh, Belfast, Penzance and Lerwick on the solstices and equinoxes; the viewer, the Swift package and Android are each tested against it). On a drive the map uses the car's position, not the route's start.Car screens follow the car (its headlights), whatever the phone does: CarPlay's main screen, dashboard and instrument cluster maps, the ground behind them and the trip estimates switch together, from the car's
contentStylewhen it connects; Android Auto's map buttons and camera alert icon are tinted by the host so they read on its light and dark controls. Both car screens load on the same day ground and night surface as the phone.
Calm, clear guidance moments: locating, lost GPS, rerouting (phone, CarPlay, Android Auto)
- A guidance status on every snapshot (
status,AtlasGuidanceStatuson all four SDKs; contractatlas-guidance-status-v1,conformance/guidance-status-v1.json, run by the Swift and Kotlin cores, the Swift package and the iOS app target). The phone's panels, CarPlay and Android Auto show it instead of reading the phase. See the SDK guide's "What the driver is told". - "Locating…", not "No GPS signal", when guidance starts. The session's first tick before any fix said
gps_unavailable, and the car screens showed "No GPS signal" at once. Now: "Locating…" until the first usable fix, "No GPS signal" only after 10 s without one. Mid-drive, 3 s more than the session's own 5 s before it is said, and cleared by the next good fix; dead reckoning through a tunnel says nothing. - Rerouting is said: "Finding a new route…" when a reroute takes over a second, then the new route once
("New route", "2 min longer", for 6 s; route plans now carry
durationSecondsfor it), and after two failed tries "Can't find a route", "Check your connection", with Retry, rather than a spinner. CarPlay pauses for.locating,.reroutingor (failed, no spinner).proceedToRoute, with alerts for the new route and for Retry; Android Auto says the same, with Retry beside End and an alert for the new route. retryReroute()on every SDK's navigation: ask for a new route now, after reroutes failed. Swift and Kotlin apps setonRetryRerouteonAtlasMapView,AtlasCarPlayandAtlasCarto wire the Retry buttons; the React Native and Flutter plugins take Retry themselves. The map views' viewer reports Retry as the eventreroute_retry.- No flicker on the cards: the "then" manoeuvre stays with its manoeuvre, CarPlay's manoeuvre state only moves forward, estimates go to CarPlay and Android Auto rebuilds its template only when what the car shows changes, and Android Auto's pictures are drawn once a manoeuvre. On a simulated town drive: CarPlay's card set again 15 → 9 times, estimates 118 → 53 a minute; Android Auto's template 58.5 → 34.6 rebuilds a minute; the phone banner's card 600 → 1.2 redraws a minute (docs/sdk/car-screens.md).
- The speed panel during a simulated drive reads the car's own speed: a 4×
AtlasRouteSimulatordrive used to show four times the speed (its fixes carry the multiplied speed the session needs). It shows whole mph, halves up, red only when that number is over the limit, and keeps showing while rerouting. - The CarPlay sample wires Retry, shows a new route before passing the update that brings it, and its
debug build has an off-route demo state (
offRoute=) with the demo service's reroute modes (POST /demo/reroute {mode: ok|slow|fail}). Before and after:docs/sdk/screenshots/guidance-moments-before-after-2026-12-02.png.
A smaller guidance card on CarPlay and Android Auto
- CarPlay draws the manoeuvre symbol and lanes at their size. They were drawn at the iPhone's display
scale (3x); CarPlay reads a picture's pixels at the car screen's scale, so on a 2x car screen (the iOS
Simulator's) they came out half as big again, and the lanes picture alone was 66 points of a 177-point
card. They're now drawn at the car screen's scale (
CPInterfaceController.carTraitCollection), as Apple asks. - Smaller, heavier symbols: 38 points on CarPlay (from 50), lines 5.5 points, bigger arrowheads, each symbol centred in its box. A roundabout's exit straight on is no longer cut off, a sharp turn's head clears its stem, and a U-turn lane arrow for right-hand traffic (and Android Auto's left U-turn symbol) now goes over the top.
- Shorter lane pictures with bolder arrows: 30 points tall on CarPlay, centred on a 140-point canvas (CarPlay's widest); 40 dp on Android Auto (the Car App Library allows 74). Android Auto's pictures are drawn in the car screen's pixels at the sizes the library asks for (a 128 dp symbol).
- One-line instructions on the card: road names as UK car screens print them ("John Dalton St", "Oxford Rd"; never "The Street"), and a shorter form with only the road ("John Dalton St") or a roundabout's exit and road ("2nd exit, Booth St"). On CarPlay the card leads with the most verbose form that fits a line at the car screen's width; Android Auto shows the first form that fits. Spoken guidance and CarPlay's notifications keep the words in full.
- The CarPlay sample's screenshots (
samples/ios-carplay/screenshots.sh) now need one tap on the car screen per run: the app switches demo states while it runs instead of being relaunched, which sent the car screen back to CarPlay's home screen.
Road names that read well whatever the road is called
A corpus of real UK road names (conformance/road-name-wording-v1.json: 67 steps, 22 of them from real routes,
and every one of the 399 road names and numbers on those 29 routes) that CarPlay, Android Auto, the phone banner
and the voice are all tested against.
- Abbreviations only where UK car screens use them: only the word that ends a name ("Booth St", "Whitworth St West", "Booth St car park"). Not a word inside a name ("Hanger Lane Gyratory" was "Hanger Ln Gyratory"; "Featherstall Road North Roundabout"), not after "The", not "Saint", and not places on a sign ("towards Liverpool Street Station"). Names in capitals keep them ("LONDON RD").
- Road numbers whole: "A57(M)", "A627(M)" and "Mancunian Way (A57(M))" kept their brackets on CarPlay ("Mancunian Way (A57(M)" before), and one road with two numbers ("B5158;B5214" in the map data) reads "B5158/B5214" everywhere: the second number used to be dropped, and "Davyhulme Road (B5158;B5214)" came out as "Davyhulme Road (B5158".
- Shorter forms with the number: "A56 Deansgate", "Deansgate", "A56"; a roundabout's "3rd exit, A580" (was "Take the 3rd exit" on a small card) and, without a counted exit, the road out ("Carl Fogarty Way", was "At the roundabout"). "Take the third exit" reads "Take the 3rd exit" on the card.
- Welsh and English pairs: "Heol y Frenhines / Queen Street" is shortened to the name the route gives first, keeping the number ("A4161 Heol y Frenhines").
- Long names: the road number when there is one ("A6046" for "Lance Corporal Stephen Shaw M.C. Way"); only as a last resort the name cut between words with an ellipsis ("Ffordd Cyswllt…"), never inside a road number ("A1(M) J6") and never to a word or two ("Great…").
- The road following on the cluster and Android Auto's road: no longer a roundabout's own name ("A678 Whitebirk Roundabout" for a roundabout left onto the M65), and printed as on the card.
- The first clause names the road: "Turn left, then immediately turn left onto Astley Gate" turns onto a road with no name; the card showed "Astley Gate".
- Phone banner: a road's numbers show as sign patches before its name, as a signed exit's do. A long name is shortened to about two lines (the first of a pair, then cut at a word). Steps without road fields, as the SDKs send them to the map, show the road their wording names ("Turn right at the lights" over "Ormskirk Road", was the whole sentence).
- Voice: two numbers are both said ("the B five one five eight, the B five two one four"), a sign's bracketed number too ("towards the M fifty-three, the M fifty-six"; was "M fifty-three,, the M fifty-six"), and "ST HELENS ROAD" starts with Saint.
Errors that say what to fix, the same on every SDK
One table of first-run errors (conformance/sdk-errors-v1.json) that every SDK's tests check: a stable
code (snake_case everywhere, Flutter included), whether trying again later can work, and a message that
says what to fix. Every message the SDKs make ends with a link to the code's entry in the new
Errors page (https://meridianatlas.dev/docs/errors#<code>); a message the
service sent is kept, with the link added.
- Retryability:
isRetryableonAtlasError(Swift),AtlasException(Kotlin and Flutter);retryableon React Native'sAtlasErrorand the server client'sAtlasApiError,AtlasTransportErrorandAtlasConfigurationError. True fornetwork_error,request_timeout,rate_limitandviewer_unavailable, and forservice_errorwith no answer or a status of 500 or more. - New codes:
missing_api_key: the configuration's key is empty, refused before anything is sent. Swift used to throwinvalid_request; KotlinIllegalArgumentException, React Native and the server clientTypeError, FlutterArgumentError. Now each SDK's own error type (the server client'sAtlasConfigurationErrorextendsTypeError).wrong_service_address: a 404 or 405 that isn't an Atlas answer, so the service address points at something else (it wasservice_error).outside_coverage: aroute_unresolvedwhose body hasoutsideCoverage: a point outside the area Atlas routes (the UK at launch).location_accuracy_reduced: navigation or free drive began with only approximate location. React Native and Flutter rejectbeginwith it, and Android'sForegroundLocationSource.checkAvailable()throws it, as they dolocation_permission_required.viewer_unavailable, to the map's error callback: the viewer page didn't load (unreachable, or an HTTP error). A failed load wasviewer_error, and an HTTP error wasn't reported.
- Messages:
network_errorandrequest_timeoutname the host and the deadline;invalid_api_key,rate_limitand the others say what to do when the service sent no message. - iOS location:
AtlasError.location(_ manager:)andlocation(authorization:accuracy:)returnlocation_permission_requiredorlocation_accuracy_reduced(or nil), for apps that own location. The React Native and Flutter plugins now check on iOS too, before guidance starts: it used to begin and reportgps_unavailable. - The service's error bodies (codes and statuses unchanged):
invalid_api_keysays how to fix the key, and tells its holder when it was revoked or expired (reason);rate_limitgives the wait and the plan's limit, withretryAfterSecondsin the body as well asRetry-After;route_unresolvedcarriesoutsideCoverage(originordestination) for a point beyond the map.
Docs whose code compiles
- Every Swift, Kotlin, TypeScript and Dart sample in the quickstarts, guides, package READMEs and website
pages is compiled by its SDK's own build (
scripts/doc_snippets.py, checked in CI), so a renamed API breaks the build rather than the docs. 139 samples; fixed on the way: the maponErrorsamples on the maps page (one argument; it takes two), the server client's Places and multi-stop samples, React Native samples missing their imports, placeholders (...) in the SDK overview, and an Android sample that needed core-ktx. python3 scripts/build_swift_package.py --iosbuilds the package's tests for the iOS Simulator too (npm run test:sdk:swift-packagepasses it), which compiles the map and CarPlay samples.- React Native:
AtlasCarScreen.configuretakes the configuration the guides make (its viewer may be the default); it wanted aviewerUrl.
Samples
- The server quick start (
samples/typescript-api-quickstart) installs the client from its own archive (npm run sdkpacks it from the repository) instead of the npm registry, where it isn't published, needs onlyATLAS_API_KEY, and prints an error's code and message. - The React Native and Flutter examples need only
ATLAS_API_KEYfor the online route; the React Native example'snpm run sdkbrings its own build tools and installs rc.6 (it pinned rc.1). Their READMEs list what you need first.
The phone's panels keep clear of the island, notches, cut-outs, the bars and your own views
- Safe areas, upright and on its side: the
navigationUIpanels (banner, lanes, camera alerts, speed, trip progress, mute, recentre, arrival card) never sit under the Dynamic Island, a notch, a camera cut-out, the status bar, or the home indicator or navigation bar. Each map view tells the viewer what the system covers as it changes (iOSsafeAreaInsets; AndroidWindowInsetsfor the bars and the cut-out, Android 9 and 10's cut-out on its side included, and again when the view moves in its window). On its side the speed sits beside the trip panel, and the buttons keep to the right. - Your own views over the map:
setInsetsis public on all four SDKs. SwiftAtlasMapView.setInsets(UIEdgeInsets), AndroidAtlasMapView.setInsets(top, left, bottom, right)(dp), React Native'sinsetsprop, FlutterAtlasMapController.setInsets(EdgeInsets): the points your toolbar, sheet or buttons cover at each edge, measured from the map's edges. The panels keep clear of them as of the safe area, and the camera keeps the car in the part of the map left clear, even when that part is small. The iOS CarPlay sample uses it for its own controls. - Large text: the panels' text follows Dynamic Type and Android's font size, up to 1.5 times its default. Android's WebView text zoom is now kept at 100% (it used to scale the panels by the font size, up to 200%, past their boxes). Where the panels would overlap or leave too little map, the text steps back towards its default size, then the panels go compact (the instruction on one line, the trip panel without its stop names, Recentre as an icon). Long names end in an ellipsis.
- The wire, additive to
atlas-map-host-v1:setTextScale, the camera'sinsetsnow also moving the panels, and the capabilitiestextScaleandpanelInsets.
0.1.0-rc.6
CarPlay and Android Auto, and the route simulator (D18, D15)
CarPlay and Android Auto (guide: docs/sdk/car-screens.md). The car screen shows:
- the Atlas map, with zoom, pan and recentre buttons and night mode that follows the car;
- route choices;
- while guiding, UK manoeuvres with junction and exit numbers, lanes, estimates, reroutes, each stop of a multi-stop trip, pauses, speed camera alerts and the speed limit;
- on CarPlay, the dashboard and the instrument cluster as well.
Per SDK:
- Swift:
AtlasCarPlay, with the scene delegatesAtlasCarPlaySceneDelegate,AtlasCarPlayDashboardSceneDelegateandAtlasCarPlayInstrumentClusterSceneDelegate;AtlasRoute.carPlayWire;- a sample app in
samples/ios-carplay.
- Android:
dev.meridianatlas.android.car.AtlasCarandAtlasCarController, on the Car App Library'sNavigationTemplate;- the map is drawn on the car's surface through a virtual display;
- add
androidx.car.app:app(1.7.0) to your app yourself: the SDK compiles against it without bringing it.
- React Native and Flutter:
AtlasCarScreen;- the plugins' own scene delegates (
MeridianAtlasCarPlaySceneDelegateand the rest) and car app service (dev.meridianatlas.android.car.MeridianAtlasCarAppService); - navigation updates reach the car screen natively.
AtlasRouteSimulator, for testing and for app review, on every SDK:
- drives a navigation session along a route at 1 to 10 times real speed, keeping to the speed limits;
- optional seeded GPS noise;
- replays recorded drive-trace fixes;
- while it runs, the session ignores real fixes;
- the car screen can start and stop it (Android Auto's
AUTO_DRIVEhook too) when the app sets one.
Map viewer, additive to atlas-map-host-v1:
cameracommands: zoom, pan, recentre and insets;setAppearance(day, night, auto) and a bootstrapappearance;alertmessages for speed cameras ahead;- new capabilities:
camera,appearanceandalerts.
Rerouting (release plan D14)
Navigation reroutes by itself (release plan D14). A navigation session made with a configuration now fetches its own reroutes from the Atlas service: from where the car is, facing the way it is going, to the destination (or the next stop not yet reached), asked the way the route was (profile, traffic, approach, a departure time moved on by the drive), inside its navigation leg. It keeps the old route until the new one arrives, and hands the app the new route to show. One fetch at a time, within 15 seconds, dropped when the car comes back to the route. Apps that answered reroutes themselves keep doing so with the manual option below (or, without a configuration, as before).
- Swift:
AtlasNavigation(configuration:rerouting:onUpdate:), withAtlasRerouting.automatic(the default with a configuration),.manualand.custom { effect in ... };route_replaced'sroute;failReroute(requestId:failure:). An automatic or custom session answers on the main queue. - Android:
AtlasNavigation(atlas, listener = ...)(thetransportis now optional: give one for your own routing);AtlasNavigationListener.onRerouted(route, request). - React Native:
new AtlasNavigation(bridge, atlas, transport?, { rerouting }),reroutingbeing"automatic","manual"or your handler;route_replaced'sroute;failReroute(requestId, error). - Flutter:
AtlasNavigation(bridge, configuration:, rerouting:)withAtlasRerouting.automatic,.manualand.custom(...);routeReplaced'sroute;failReroute(requestId, error);AtlasNavigationErrorCode.legInvalid. - Routes on every SDK take
approach(unrestrictedorcurb: arrive with the destination on the driver's side), and a route's plan keeps its options (plan.options) so its reroutes are asked the same way.
Off-route detection, rerouting model 2 (all cores: Swift, Kotlin and the
TypeScript reference; the SDK configuration uses it). Measured on shared
replayed drives with simulated GPS noise (conformance/reroute-scenarios-v1.json):
a wrong motorway exit is caught in about
6 seconds instead of 13, a missed city turn in about 3 instead of 6, a service
road taken in about 5 seconds instead of 90, and a drive out of a car park no
longer reroutes 26 times. Retries: after 3 seconds, doubling to a minute (was
30 seconds to 2 minutes); a request unanswered for 20 seconds counts as failed
(was 30).
- New effects:
reroute_failed(requestId,reason: the error's code,no_answerorinvalid_route;retryAtMs) andreroute_cancelled(requestId,reason:back_on_route).request_reroutecarriesspeedMps.reroute_deferredis said once per deviation, not on every fix. - A navigation leg includes 50 reroutes (decision 10); the 51st is refused
leg_invalid, and an automatic session then reroutes without the leg, charged as a route, reportingleg_invalidonce. - Business API:
POST /v1/routestakesheadingTolerance(10 to 180 degrees, withheading) andapproach. With a heading, a route starts on a road going within 60 degrees of it by default, so a reroute on a dual carriageway starts on the car's own side.
Fixed: Flutter: a navigation leg that couldn't be ended (no connection on arrival) raised an uncaught error; it is now let go quietly, as on the other SDKs.
Spoken guidance (release plan D13)
- The session decides what to say and when, on every SDK. Each navigation
update has
announcements: what to say now, with anid, apriority(high,normalorlow), astage, plaintextandssml.- Warning distances scale with speed: "In 1 mile", "In half a mile", then "Take the exit now".
- Close manoeuvres are joined ("…, then turn left onto Gartside Street").
- Roundabout exits and junction numbers are said.
- Nothing is said while guidance is paused or the phase isn't
on_route, and nothing is repeated after a reroute, the session's own (D14) included. - Every arrival is announced, each stop of a multi-stop route included.
- Road numbers are written as British drivers say them: M6 "M six", A580 "A five-eighty", J19 "junction 19".
conformance/voice-announcements-v1.jsonpins all of this, and the Swift and Kotlin cores pass it unchanged.
- Route plans carry their guidance (
AtlasRoutePlan.guidance).AtlasRoute.planandAtlasMultiStopRoute.planfill it in, a multi-stop trip's legs counted from the trip's start. A plan without guidance is guided in silence, as before. Guidance steps gainroadName,roadRefandangleDegrees. AtlasVoice, an opt-in speaker.- Voice: the best installed en-GB voice by default (iOS: Personal Voice once
allowed, Premium, Enhanced; Android: high quality first, a network voice only
while online), or the app's choice from
voices(), with a filter by locale, quality and gender, andpreview. - Audio: it never configures the audio session or requests audio focus, and
tells the app before and after each prompt (
onWillSpeak/onDidSpeak,will_speak/did_speak). - Bring your own voice:
AtlasVoiceOutput, orspeakin React Native and Flutter. - React Native and Flutter reach the device's voice through the plugin's new
voicechannel (sdk/contracts/voice-sdk-v1.schema.json).
- Voice: the best installed en-GB voice by default (iOS: Personal Voice once
allowed, Premium, Enhanced; Android: high quality first, a network voice only
while online), or the app's choice from
- The car screens speak: set
voiceonAtlasCarPlayorAtlasCar, and each update you pass the car screen has its announcements said through the car. The same announcement handed to a voice twice is said once. - Android:
AtlasNavigationListener.onAnnouncement. The test APK now hasAtlasVoiceDeviceTest, which runs AtlasVoice against the device'sTextToSpeech(connectedDebugAndroidTest).
The phone's navigation panels (release plan D18)
navigationUI gains four panels, in Meridian's look by day and night, joining the banner, lanes, camera
alerts and speed:
- Trip progress: arrival time (local, 24-hour), time left and distance left; on a multi-stop trip, the next stop ("Stop 2 of 4") and the destination with its own arrival time and distance.
- Recentre: the driver can pan and pinch the map; a Recentre button then brings the camera back.
- Mute: a button that mutes and unmutes the attached
AtlasVoiceby itself (map.voice = voice; React Native'sdeviceVoiceprop), and follows it when the app mutes it. Apps with a voice of their own get the driver's taps as an event. - Arrival card: at each stop (Next stop, End) and at the destination (End), with the place's name and address when your app gives them.
- Each panel can be turned off:
navigationPanelson the map presentation (all on by default). - Safe areas are respected, and the camera keeps the car clear of the panels.
Per SDK:
- Swift:
AtlasMapView.show(_:destination:)andshow(_:stops:)name the places, withAtlasMapPlace(or from anAtlasPlace);voice(anAtlasVoicethe mute button mutes by itself),isVoiceMutedandonVoiceMutedChanged;isFollowing,onFollowingChangedandrecentre();onArrivalAction(AtlasArrivalAction);AtlasMapPresentation(navigationPanels:)(AtlasNavigationPanels).
- Android: the same, with
AtlasMapPlaceandAtlasNavigationPanel. The map view also tells the viewer what an edge-to-edge window's bars cover. - React Native:
atlasMapRoute(route, { destination })or{ stops };- the
deviceVoice,voiceMutedandrecentreKeyprops; onVoiceMutedChanged,onFollowingChangedandonArrivalAction;navigationPanelsonatlasMapPresentation.
- Flutter:
showAtlasRoute(route, destination:)andshowMultiStopRoute(route, stops:);voice(anAtlasVoicethe mute button mutes by itself),setVoiceMuted,isVoiceMutedandvoiceMutedChanges;AtlasVoice.isMutedandmutedChanges;recentre,isFollowingandfollowingChanges;arrivalActions;AtlasMapPresentation(navigationPanels:).
The wire, additive to atlas-map-host-v1:
- the route's
durationSecondsandstops; - each update's
remainingM,legIndex,legCount,nextStopIdandlegRemainingM; voiceMutedin the bootstrap, andsetVoiceMutedandsetSafeArea;eventmessages:voice_muted_changed,following_changed,arrival_next_stopandarrival_end;- the viewer parameter
navigationPanels; - new capabilities:
tripProgress,recentre,voiceMute,arrivalCard,navigationPanelsandsafeArea.
0.1.0-rc.5
Breaking: the Android and npm packages are renamed (release plan decision 5:
"Meridian Atlas stays"). Nothing had been published, so there are no aliases.
Change your dependencies and imports; the Swift module (MeridianAtlas) and the
Flutter package (meridian_atlas) keep their names.
Renamed in 0.1.0-rc.5
| Was | Now |
|---|---|
Maven group uk.co.meridian.atlas (atlas-android, atlas-core) | dev.meridianatlas (dev.meridianatlas:atlas-android, dev.meridianatlas:atlas-core) |
Kotlin and Java packages uk.co.meridian.atlas, uk.co.meridian.atlas.android, uk.co.meridian.atlas.offline | dev.meridianatlas, dev.meridianatlas.android, dev.meridianatlas.offline |
Android namespace uk.co.meridian.atlas.android | dev.meridianatlas.android |
Android manifest meta-data uk.co.meridian.atlas.notification_icon | dev.meridianatlas.notification_icon |
npm @meridian/atlas-react-native (archive meridian-atlas-react-native-<version>.tgz) | @meridianatlas/react-native (meridianatlas-react-native-<version>.tgz) |
npm @meridian/atlas-api (archive meridian-atlas-api-<version>.tgz) | @meridianatlas/api (meridianatlas-api-<version>.tgz) |
React Native module's Android package uk.co.meridian.atlas.reactnative | dev.meridianatlas.reactnative |
Flutter plugin's Android package uk.co.meridian.atlas.flutter, and its channels uk.co.meridian.atlas/… | dev.meridianatlas.flutter, dev.meridianatlas/… |
iOS os.Logger subsystem and queue labels uk.co.meridian.atlas | dev.meridianatlas |
Sample and example app IDs uk.co.meridian.atlas.sample, uk.co.meridian.atlas.meridian_atlas_example (iOS uk.co.meridian.atlas.meridianAtlasExample) | dev.meridianatlas.sample, dev.meridianatlas.example.flutter |
A first route needs only a key (release plan D12). AtlasConfiguration
on every SDK defaults the service to https://api.meridianatlas.dev and the
map viewer to https://maps.meridianatlas.dev/v1 (the map loads its /3d
page). That domain isn't live yet: until it is, beta partners pass the
addresses Meridian gave them, as before.
- Swift:
AtlasConfiguration(apiKey:);AtlasConfiguration.defaultBaseURLanddefaultViewerURL. Breaking:viewerURLis aURL, no longer optional. - Android:
AtlasConfiguration(context, apiKey);ATLAS_DEFAULT_BASE_URLandATLAS_DEFAULT_VIEWER_URL. Breaking:viewerUrlis aString, no longer nullable. - React Native:
atlasConfiguration({ apiKey });ATLAS_DEFAULT_BASE_URLandATLAS_DEFAULT_VIEWER_URL.baseUrlandviewerUrlare optional, andatlasConfiguration()always fills both in. - Flutter:
AtlasConfiguration.forThisApp(apiKey:);atlasDefaultBaseUrlandatlasDefaultViewerUrl. Breaking:viewerUrlis aUri, no longer nullable. - TypeScript API:
new AtlasClient({ apiKey });ATLAS_DEFAULT_BASE_URL. - Map views (breaking): a
viewerBaseURL/viewerBaseUrlpassed to the map view now wins over the configuration's viewer, which is always set. A map view made with a configuration no longer fails for want of a viewer address. - Atlas Studio's mobile snippets need only the key, and say where the map viewer is by default; a Studio whose API isn't the default still fills its address in.
Flutter: session error codes in snake case (release plan D19), the same
codes as every other SDK. AtlasNavigationErrorCode and
AtlasFreeDriveErrorCode keep their Dart names (locationPermissionRequired)
and gain wire (location_permission_required) and fromWire();
AtlasNavigationException and AtlasFreeDriveException print the snake_case
code. A parity test checks them against React Native's.
0.1.0-rc.4
Multi-stop navigation: arrivals at each stop, reroutes to the next stop, a
navigation leg per stop (release plan D7). Begin with AtlasMultiStopRoute.plan
and the session guides the trip stop by stop, on all four platforms:
- Stops on the plan.
AtlasRoutePlantakesstops(AtlasRoutePlanStop:id,coordinateIndex); a multi-stop route'splanhas one per leg. A plan without stops is one leg to its last point, as before. - Arrivals. New effects:
stop_arrived(stopId,legIndex) at each stop before the last, where guidance carries on, andleg_started(stopId,legIndex,destination) when the car leaves a stop (more than 50 m away, or off the route).arrivednames the last stop. The snapshot addslegIndex,legCount,nextStopIdandlegRemainingM. - Reroutes go to the next stop not yet reached (
request_reroute'sdestinationand newstopId), not the end of the trip. Answered with a route to that stop, the session keeps the rest of the trip after it; a stop already reached is never added back. A car that drives past a stop without reaching it is rerouted back to it.rerouted(Swift, Android, Flutter) andatlasMultiStopRerouted(React Native) build the trip after a reroute, for the map and the next reroute. - Billing. With a configuration the session registers one navigation leg
per stop: the first at
begin, each later one onleg_started, each ended at its stop. A run stopped at a stop is never charged the next leg. This replaces the beta's one leg per run (it undercharged). The TypeScript API'satlasMultiStopLegDestinations(route)says where each stop's leg starts.
The wire contract (atlas-navigation-sdk-v1) gains the two effects and the
fields; it stays v1. Shared scenarios: conformance/multi-stop-navigation-v1.json,
run by the Kotlin and Swift cores.
Developer experience (docs/sdk/DX_REVIEW_2026-12.md):
- Every guide's sample now builds its clients from one configuration, so app
keys send the app's identity. Before, "Getting a route" and the Places,
traffic, matrix and multi-stop samples were refused with
app_not_allowed. - Quickstarts gain "Get a key" (including Android debug and release certificates), "Speaking the guidance" and "Testing in the simulator/emulator".
- Android: a blocked plain-HTTP development connection names the host and the fix, instead of "could not be reached".
- The current version is stamped into the docs, with a check.
0.1.0-rc.3
Renamed: plain public names in the API, and one name for each idea on every platform (no aliases: nothing has been published yet). The routing service keeps its own names; the Business API translates them, as it already does for lane guidance.
The API (every SDK reads the new names; the TypeScript API's types follow them):
| Was | Now | Where |
|---|---|---|
status: candidate_route_matrix, candidate_route_matrix_partial | complete, partial | POST /v1/route-matrix, and the matrix a stop optimisation takes |
an unresolved cell's routeStatus (snap_unresolved, no_path, …) | reason: no_road_nearby or no_route | POST /v1/route-matrix |
modelTravelSeconds | durationSeconds (as on a route) | route-matrix cells; an ordered multi-stop route and each of its legs; a route's road transportSegments |
multi-stop legs as the route service gives them (from, to, no point indexes) | always index, fromStopId, toStopId, coordinateStartIndex, coordinateEndIndex | POST /v1/routes/ordered-multi-stop (the SDKs could not read the live service's legs) |
| a multi-stop route with no route between two stops: 503 (taken for a broken reply) | 422 route_unresolved, as for a single route | POST /v1/routes/ordered-multi-stop |
status: candidate_route | routed | a route's road transportSegments |
guidanceSchema (structured-guidance-v1) | removed: guidanceAvailable says whether there is guidance | POST /v1/routes |
sourceId, evidenceStatus: osm_source_tag, operationalStatus: activity_unverified | id, source: mapped, operationalStatus: unknown | GET /v1/cameras |
scheduleEvidence (source, retrievedAt) | scheduleSource (url, retrievedAt) | ferry transportSegments and ferryReadiness.sailings |
scheduleEvidenceStatus: not_exposed_by_runtime, incomplete, provided_unverified | scheduleSourceStatus: unavailable, incomplete, unverified | ferryReadiness |
reasons schedule_provenance_unavailable, schedule_evidence_stale | schedule_source_unavailable, schedule_source_stale | ferryReadiness.reasons |
contractVersion: atlas-stop-order-optimization-v1 (required) | removed: don't send it | POST /v1/stop-optimizations |
status: candidate_stop_order_optimised | complete | GET /v1/stop-optimizations/{jobId} and /result |
search.algorithm: deterministic_beam_v1 | removed (search is the beamWidth you asked for) | stop-optimisation result |
optimization_not_found (one of two codes for an unknown job) | job_not_found | GET /v1/stop-optimizations/{jobId} |
routing_runtime_unavailable, routing_runtime_invalid_response, routing_runtime_response_too_large | routing_unavailable | any routing call's 503 (the SDKs' service_error, status 503) |
info.version: 1.0.0-candidate, "Candidate public contract" | 1.0.0, a plain description | the OpenAPI document |
The SDKs:
| Was | Now | Where |
|---|---|---|
Android AtlasNavigation.onLocation(sample); core AtlasNavigationSession.ingestFix, AtlasFreeDrive.ingestFix | ingest | as iOS's ingest(_:) |
Android AtlasNavigation.onConnectivity(online, nowMs) | setConnectivity(online, nowMs) | as iOS, React Native and Flutter |
iOS completeReroute(requestId:replacement:); Android core completeReroute(requestId, nowMs, replacement) | completeReroute(requestId:route:), completeReroute(requestId, nowMs, route) | as React Native and Flutter (completeReroute(requestId, route)) |
Android AtlasRoutePlan(id, coordinates) | AtlasRoutePlan(id, mapVersion, coordinates), with ATLAS_ONLINE_MAP_VERSION | as iOS, React Native and Flutter |
Android core AtlasFreeDrive.setRoads(roads, centre, radiusM) | setRoads(centre, radiusM, roads) | as iOS, React Native and Flutter |
Session codes invalid_argument and free drive's invalid_roads (React Native, Flutter invalidArgument / invalidRoads, the native bridges) | invalid_request (invalidRequest) | as iOS's sessions and every service client |
0.1.0-rc.2
Renamed: one set of names on every platform (no aliases: nothing has been published yet; a later rebrand would rename the packages, not these)
| Was | Now |
|---|---|
AtlasSwiftNavigation (iOS), AndroidNavigationHost (Android), MeridianAtlasNavigation (RN, Flutter) | AtlasNavigation |
AtlasSwiftRoutes, MeridianAtlasRoutes | AtlasRoutes |
AtlasSwiftFreeDrive, FreeDriveSession (Android), MeridianAtlasFreeDrive | AtlasFreeDrive |
AtlasSwiftMapView | AtlasMapView |
MeridianAtlasPlaces, MeridianAtlasTraffic, MeridianAtlasOfflineRoutes | AtlasPlaces, AtlasTraffic, AtlasOfflineRoutes |
AtlasSwiftSnapshot / Effect / Update, NavigationSnapshot / Effect / Update / Phase (Android) | AtlasNavigationSnapshot / Effect / Update / Phase |
AtlasSwiftRoutePlan, RoutePlan | AtlasRoutePlan |
AtlasSwiftRoute, AtlasSwiftRouteProfile | AtlasRoute, AtlasRouteProfile |
AtlasSwiftGuidanceStep, AtlasStructuredGuidance (Android, RN, Flutter) | AtlasGuidanceStep (decodeGuidanceStep in RN) |
AtlasSwiftRoad, FreeDriveRoad; AtlasSwiftSpeedLimit, SpeedLimit | AtlasRoad, AtlasSpeedLimit |
AtlasSwiftFreeDriveSnapshot / Effect / Update, FreeDriveSnapshot / Effect / Update / Phase | AtlasFreeDriveSnapshot / Effect / Update / Phase |
AtlasSwiftError | AtlasError |
Android: NavigationSession, NavigationSessionConfig, Coordinate, PositionFix, AndroidNavigationListener, AndroidPositionSample, AndroidRerouteCall / Transport | AtlasNavigationSession, AtlasNavigationConfig, AtlasCoordinate, AtlasPositionFix, AtlasNavigationListener, AtlasPositionSample, AtlasRerouteCall / Transport |
RN: Coordinate, MeridianAtlasNativeModule | AtlasCoordinate, AtlasNativeModule |
TypeScript API: MeridianAtlasClient, MeridianAtlasApiError, MeridianAtlasTransportError | AtlasClient, AtlasApiError, AtlasTransportError |
RN: AtlasRoutesError, AtlasTrafficError, AtlasPlacesError, AtlasPlacesTransportError | AtlasError |
Android: AtlasRoutesException, AtlasTrafficException (and AtlasTrafficErrorCode); Flutter: AtlasRoutesException, AtlasTrafficException, AtlasPlacesTransportException | AtlasException |
RN: AtlasRoutesTransport, AtlasPlacesTransport, AtlasTrafficTransport; Android: AtlasRoutesTransport, AtlasTrafficTransport; Flutter: AtlasRoutesTransport, AtlasPlacesTransport, AtlasTrafficTransport | AtlasTransport (one per platform, with a built-in default) |
Android: AtlasRouteCoordinate (matrix and multi-stop) | AtlasCoordinate |
Services: the same on every platform
- Every SDK has the same five service clients:
AtlasRoutes,AtlasMultiStop(new: one route through 2 to 64 stops in order,route(request)),AtlasRouteMatrix(new:calculate(request), withcell(originId, destinationId)),AtlasPlacesandAtlasTraffic. The Swift package had only routes; route matrix and multi-stop were request builders with no client. The feature table indocs/sdk/README.mdgives the key feature each needs. - Each works out of the box: Android (
HttpURLConnection, no new dependencies), Flutter (dart:io) and the Swift package (URLSession) no longer need an app-written transport for Places or traffic, and Android'sAtlasPlacesmakes the calls rather than describing them. Pass your ownAtlasTransport(Swift: aURLSession) for tests or your own networking. Redirects are refused, one deadline covers the whole exchange, and an oversized answer is refused. The Android calls block and refuse to run on the main thread. - Typed results everywhere: places (
id,displayName,formattedAddress,location,types, plusrawfor every other field), autocomplete suggestions (placeId,text,mainText,secondaryText), traffic intervals, matrix cells and multi-stop legs (with their guidance, speed limits and aplanto navigate). Field masks and session tokens work as before. AtlasRouteshasdepartureTimeandspeedSectionson every platform (Swift: aDate; Android: anInstant; Flutter: aDateTime; React Native: an ISO 8601 string). Swift'sAtlasGuidanceStephas the full lane guidance (laneGuidance:source,lanes,recommendedLaneIndexes,preferredLaneIndex,drivingSide) andsignpost, as the other SDKs do; its flattenedrecommendedLaneIndexes,signpostRefsandsignpostDestinationsare gone.AtlasGuidanceStep.fromWiredecodes a step.- One error per platform (
AtlasErroron iOS and React Native,AtlasExceptionon Android and Flutter) with the same codes:invalid_request,invalid_api_key,capability_required(withcapability),app_not_allowed,billing_inactive,usage_policy_required,usage_allowance_exhausted,rate_limit(withretryAfterSecondsfromRetry-After),route_unresolved,request_timeout,network_error,invalid_responseandservice_error(withstatus), plusrequestId. Route clients used to report every status but 400 and 422 asservice_error. Places errors map to the same codes. An oversized answer is nowinvalid_response(React Native saidnetwork_error); a redirect isnetwork_erroreverywhere. - Every request sends
X-Atlas-KeyandAtlas-Client: <ios|android|react-native|flutter>/<version>, and calls billed per request send anIdempotency-Key(route requests sent none before, which the service refuses). PassidempotencyKey(a UUID) to make a retry count once; traffic uses itsrequestId. - The base URL must use HTTPS, except to this device (
localhost,127.0.0.1,[::1]) for development. - Matrix and multi-stop request checks throw the platform error with
invalid_request(they threwTypeError,ArgumentErrororIllegalArgumentException).
One configuration, and app keys that work
AtlasConfigurationon every platform holds the API key,baseURL(no default host: name the one your key is for), the map viewer'sviewerURL, the deadline and the app's identity. Make one and give it to every client:AtlasRoutes(configuration:)(Swift),AtlasRoutes(configuration)(Android),new AtlasRoutes(atlasConfiguration({...}))(React Native),AtlasRoutes.fromConfiguration(configuration)(Flutter); the same forAtlasMultiStop,AtlasRouteMatrix,AtlasPlaces,AtlasTraffic,AtlasNavigationLegsandAtlasRoads. The older initialisers keep working.- URLs must use HTTPS. Plain HTTP is accepted only in a debug build (iOS
DEBUG, a debuggable Android app,__DEV__, Flutter debug mode), tolocalhost,127.0.0.1,[::1]or the Android emulator's10.0.2.2. - App keys from Atlas Studio work: every request names the app. Before, every
call with an app key failed with
app_not_allowed.- iOS:
Atlas-AppisBundle.main.bundleIdentifier(AtlasAppIdentity.current); the older initialisers send it too. - Android:
AtlasConfiguration(context, apiKey, baseUrl)reads the package name and the SHA-256 of the signing certificate once (AtlasAppIdentity.of(context):GET_SIGNING_CERTIFICATESon API 28+, the current signer after key rotation;GET_SIGNATURESbelow; with several signers the one whose SHA-256 sorts first) and sends them asAtlas-AppandAtlas-App-Cert(64 lower-case hex digits). - React Native:
atlasAppIdentity(NativeModules.MeridianAtlas)reads the identity the native module exports once as a constant. - Flutter:
AtlasConfiguration.forThisApp(...)asks the plugin once (AtlasAppIdentity.current()).
- iOS:
Navigation legs and nearby roads
AtlasNavigationLegson every platform:start(destination)when guidance to a destination starts (one Navigation unit;POST /v1/navigation/legs) andend(legId, reason)on arrival or when the driver stops (free). Pass the leg'slegIdtoAtlasRoutes.rerouteand the reroutes inside the leg cost nothing. A new destination, each stop of a multi-stop run included, is a new leg. New shared codes:leg_invalid(ended, older than 24 hours or unknown),leg_destination_mismatchandleg_not_found.AtlasRoadson every platform:nearby(centre, radiusM)answers free drive'sroads_neededfrom the service (POST /v1/roads/nearby, theroad_attributesfeature) with typedAtlasRoads (name, ref, road type, speed limits, one-way) ready forsetRoads. Apps no longer call the scene service for roads.AtlasRoutes.reroutekeeps the original route'strafficAwareanddepartureTime(React Native:traffic,departureTime) and takes thelegId. Asking again for the samerequest_rerouteafter a timeout or a lost connection reuses itsIdempotency-Key, so a request that did reach the service counts once (Android made a new key for every attempt); after any answer the next attempt gets a new key.
Navigation registers its own leg (every platform the same)
- Give the navigation session the configuration and it registers each
destination's navigation leg itself, so billing no longer relies on the app
remembering:
AtlasNavigation(configuration:onUpdate:onError:)(Swift),AtlasNavigation(configuration, transport, listener)(Android),new AtlasNavigation(bridge, configuration)(React Native),AtlasNavigation(bridge, configuration: atlas)(Flutter). Without one, a session behaves exactly as before and contacts no server. beginregisters the leg to the route's last point in the background; guidance never waits for it. Beginning again to the same destination (within 50 m, the service's own tolerance) keeps the leg; a new destination ends the old one (cancelled) and starts another. Arrival ends it (arrived), and so doesstop()(cancelled); a leg whose answer comes after that is ended when it comes.legIdon the session says which leg it is.- Every
request_rerouteeffect (Android:RequestReroute, to the listener and the transport) carries the leg'slegId, andAtlasRoutes.reroute(effect)sends it when you pass none, so reroutes inside the leg cost nothing. - A failure that may pass (
network_error,request_timeout,rate_limit,invalid_response, a 5xxservice_error) is tried again after 1, 2, 4, 8 and 16 seconds (the service'sRetry-Afterwhen longer, up to 60), with oneIdempotency-Key, so the leg is charged once. If the leg still can't be registered, or the key is refused, the session reports it once with the new shared codeleg_registration_failedand carries on guiding; its reroutes are then charged as routes. iOS: anAtlasErrortoonError, on the main queue. Android: anAtlasExceptionto the newAtlasNavigationListener.onError(default empty), on the callback executor. React Native: anAtlasNavigationErrortosubscribe'sonError, with the service'sAtlasErrorascause. Flutter: anAtlasNavigationExceptionerror event onupdates()(AtlasNavigationErrorCode.legRegistrationFailed, a new enum value that breaks exhaustive switches), with the service'sAtlasExceptionas the newcause. - Android: the RN and Flutter plugins now also carry copies of
AtlasClient.kt,AtlasConfiguration.ktandAtlasNavigationLegs.kt.
The map takes the configuration, and the viewer the key
AtlasMapView(configuration:)(Swift, throws),AtlasMapView(context, configuration)(Android), theconfigurationprop ofMeridianAtlasMap(React Native) andAtlasMapView(configuration: atlas)(Flutter) load the viewer from the configuration'sviewerUrl, or theviewerBaseUrlyou pass when it has none (viewerBaseUrlis now optional in React Native and Flutter), and give the viewer the configuration's key. With neither address:invalid_request(Swift),IllegalArgumentException(Android),onMapErrorinvalid_prop(React Native),ArgumentError(Flutter). A map view made with onlyviewerBaseUrlsends no key, as before.- The key goes to the viewer in its bootstrap (
window.meridianAtlasHost.apiKey, atlas-map-host-v1, an optional field), never in the viewer's URL. The viewer keeps it in memory and sendsX-Atlas-Keyon its scenery requests (/scene-window,/scene-tiles/...,/scene-data) to its own origin only, never another host; it is not logged or sent back inready, warnings or errors.readylists the new capabilitykeyedScenery.
Example apps ask for location
- The Flutter and React Native example apps ask for location permission
themselves, with the platforms' own prompts, before they navigate or free
drive (Android: fine and coarse together, as Android 12 and later require,
and notifications on Android 13+; iOS: Core Location, which the React Native
example never asked before). When location is off or only approximate they
say so and how to fix it, instead of failing
begin.
TypeScript API (servers)
@meridianatlas/apihas the SDK version (sdk/VERSION, was0.1.0-alpha.1) and sendsAtlas-Client: typescript/<version>.AtlasApiError.codeis the shared code (billing_requiredisbilling_inactive, a 422 route isroute_unresolved, and so on); the service's own code isserverCode. Places errors are read as well, andcapabilitynames the missing feature. An answer that isn't JSON isinvalid_response.startNavigationLeg,endNavigationLeg,route({ legId })androadsNearby. Server keys only: it sends no app identity.
Platforms
- One minimum for every package: iOS 15 (React Native: 15.1, its own floor) and
Android 8.0 (API 26). React Native and Flutter apps set
minSdk26; Flutter apps setplatform :ios, '15.0'.
Reroutes
- A reroute can no longer get stuck. Before, a reroute request that was never
answered (a lost reply, or a React Native or Flutter app whose fetch failed)
left the session "rerouting" for good while the car stayed off the route, and
on Android one such request stopped all later reroutes on that route. Now:
- a request with no answer after 30 seconds counts as failed: the session
backs off and asks again (
rerouteTimeoutMs/rerouteTimeoutSeconds); - a request is dropped when the car rejoins the route, on every platform (iOS already did this), and its late reply is ignored;
- request ids are never reused within a route, so a late reply can't be taken for a newer request (Android and the TypeScript reference reused them).
- a request with no answer after 30 seconds counts as failed: the session
backs off and asks again (
- React Native and Flutter:
navigation.completeReroute(requestId, plan), or with no plan when the fetch failed, andnavigation.setConnectivity(online). Answer everyrequest_reroutethis way instead of callingbeginwith the new route.
Same behaviour on every platform
- iOS sends a
reasonwithpause_guidance(uncertain,gps_unavailable) andreroute_deferred(offline,backoff), as Android always did, so React Native and Flutter apps get the same payload on both.AtlasNavigationEffect.reason. - Android routes report a timeout as
request_timeout, as the other SDKs do, notnetwork_error. - Swift:
AtlasSwiftRoutesthrowsinvalid_requestfor an empty key instead of crashing. Flutter: the clients no longer expose the API key as a field. - Android: native apps get guidance with the screen off (
ForegroundLocationSource; the SDK manifest now declares its service), with a translatable notification.
Guidance
- Lane advice is plain:
laneGuidance.sourceismapped(from the lane markings mapped on the road),inferred(from the road layout) ornone. It replacesstatus(source_candidate,inferred_candidate,unknown). The map-data detailssourceTag,sourceTags,evidenceStatus,drivingSideSource,laneOrder,signEvidenceandexitNumberVerifiedare gone:signpostcarries what the sign says, and lanes are always left to right in the direction of travel.
Map
- The map view shows a route's guidance and speed limits. Give it the route
from
AtlasRoutesorAtlasMultiStop, not only its plan:map.show(route)(Swift),map.showRoute(route)(Android),route={atlasMapRoute(route)}(React Native),map.showAtlasRoute(route)ormap.showMultiStopRoute(route)(Flutter). The route line then moves into the lane each junction needs, and the map knows the speed limit as the car goes. After a reroute, show the new route the same way. A plan still shows as a plain line. - In free drive the map gets the snapshot's speed limit with each update.
navigationUIon the map presentation (off by default) shows the built-in Meridian guidance panels: the manoeuvre, lanes, camera alerts, and the speed with the limit, which turns red when the car is over it.- Map views (every SDK) give the built-in banner each guidance step's
instruction,signpost,landmarkandexitNumber, so it says "At the traffic lights, turn right onto Ormskirk Road" (not "Turn right"), shows the sign at a fork and reads a roundabout's exit. An exit number goes to the map as an integer when it is one ("3" is 3), else as it is. qualityon the map presentation (every SDK):auto(the default),high,balancedorlow, sent in the viewer's bootstrap.autostarts from what the device says about itself and steps down a tier when frames stay slow, which is aquality_reducedwarning (never cleared). The tier the map started at:qualityon Swift's and Android'sAtlasMapViewand Flutter'sAtlasMapController,nativeEvent.qualityon React Native'sonMapReady.- Map views (every SDK) pass on the viewer's
scene_unavailableerror (no scenery came after every try) with its code; it wasviewer_error. - Android:
updatePositiontakesspeedLimit, andshowRoute(routeId, coordinates, guidance, distanceMetres, speedSections)takes a route's guidance in the route service's form.
Offline
- National offline catalogues stay current with a freshness ticket, passed at
least monthly to
AtlasSwiftOffline.renew(ticket:)(iOS) orManagedNationalStore.renew(Android). The ticket is signed by a pinned production key, and an older ticket than the one kept is refused. Until now a catalogue stopped working 31 days after it was built and needed an app update. Refusal codes:offline_freshness_invalid,_untrusted,_expired,_rollback. The Atlas service serves the tickets after launch, with offline downloads.
Robustness (30 November review)
- Android: a reroute replacement with no length counts as a failed fetch, not a
crash; the wire adapter refuses degenerate routes with
invalid_argument. - Android (behaviour change):
AtlasNavigationlistener callbacks arrive on the main thread, posted in order.callbackExecutorandAtlasMainThreadExecutorchoose another thread. - Android:
AtlasMapViewcan be called from any thread, recovers from a renderer crash with a fresh WebView, and ignores calls afterdestroy(). - Android: the core is Java 17 bytecode; the AAR's
minCompileSdkis 33 (was 36) andminAgpVersion8.0.0 (was 8.10.1). - Android: the foreground service checks location permission
(
ForegroundLocationSource.checkAvailable(), a new defaultAtlasLocationSource.checkAvailable()) and is safe to stop straight after starting. Its notification has an SDK small icon, overridable withdev.meridianatlas.notification_iconmeta-data. The manifest declaresACCESS_NETWORK_STATE. - Android:
toAtlasPositionSample()treats a missing accuracy asATLAS_UNKNOWN_ACCURACY_M(1000 m) instead of 0. - iOS: plugin hosts never pause location updates; the ticker runs in common run-loop modes; the map view can be updated from any thread.
- iOS: the Swift package and both pods ship
PrivacyInfo.xcprivacy(precise location, app functionality, not linked, no tracking). The SDK uses no required-reason API. - iOS:
AtlasNavigationandAtlasFreeDrivethrowinvalid_requestinstead ofinvalid_argument. - React Native: service calls work without a fetch body stream (React Native's
own
fetch). Any number ofsubscribe()calls share one native subscription. Session errors areAtlasNavigationError/AtlasFreeDriveError, with new codeslocation_permission_requiredandnative_error; the Android module rejects any native exception asnative_errorinstead of crashing.onMapErrorcarries acode. - React Native (breaking): the offline download API moved to
@meridianatlas/react-native/experimental-offlineand throwsAtlasOfflineDownloadError. - Flutter:
updates()supports many listeners and stays open after an error event. Session errors areAtlasNavigationException/AtlasFreeDriveException, neverPlatformException; the new enum valueslocationPermissionRequiredandnativeErrorbreak exhaustive switches.AtlasMapViewdisposes its controller (AtlasMapController.dispose(),isDisposed). - Flutter (breaking): the offline download API moved to
package:meridian_atlas/experimental_offline.dartand throwsAtlasOfflineDownloadException. - Map viewer (all map views): the route line sits in the driving lane in app
map views too (a host route may carry
drivingSideorcountryCode; GB is the default). Curved bridges, tunnels, bad lane data and routes of hundreds of kilometres no longer stop the map.readycarriesbuildandcapabilities; routes over 200,000 points are refused withroute_too_large; errors carry acode, and the viewer also reports problems afterready(errorwithcontext_lost, andwarningmessages). - Map views (every SDK) read the viewer's
code. A lost graphics context (context_lost) reloads the map on what it was showing, sharing the three-reload limit with a renderer crash; only then does the error reach the app, ascontext_lost.route_too_large,invalid_routeandunsupported_contractgo to the app with their code and no reload; any other viewer error isviewer_error. The viewer'sbuildis logged at debug level when it is ready (os.Loggersubsystemdev.meridianatlason iOS, theAtlasMapViewlog tag on Android). - Map views (every SDK): a warning callback for problems the map carries on
through (
map_detail_unavailable,context_lost,runtime_error), withactivefor when one starts and clears; after a reload, what the old map reported is cleared once the new one is ready. Swift and KotlinonWarning(code, active, message); React NativeonMapWarning; FlutterAtlasMapController.warnings(AtlasMapWarning). - iOS and Android (breaking):
AtlasMapView.onErrortakes(code, message). - Flutter (breaking):
AtlasMapController.errorsis a stream ofAtlasMapError(code,message), not of strings.readyEventshas everyready, reloads included (readystill completes on the first). - React Native:
onMapErrorcodes addcontext_lost,route_too_largeandunsupported_contract, withinvalid_routenow also from the viewer.
0.1.0-rc.1
First release candidate.
Guidance
- Route sessions: matching with heading, deviation and rerouting (the router gets the car's heading), arrival.
- Tunnels and weak GPS: dead reckoning is on in every SDK (up to 5 minutes and
3.5 km). It starts about a second into a gap, rides through network-grade
fixes, holds the position while the car waits, and when GPS returns the car is
found again as far along as it could have driven. A fix reporting the car
stopped doesn't move it forward, a fix without speed takes its speed from
how far the car moved along the route, and a fix that claims a speed it has
not moved at (a phone holding its position through a tunnel) counts as no
fix. A car that turns up further along its route (after
a long gap) is found again there rather than rerouted. Snapshots say when progress is
estimated (
positionEstimated) in every SDK. - iOS: progress is in the same metres as the guidance steps (it was the ellipsoid, up to 0.3% apart), and a fix counts as off the route at the same distance as on Android.
- Simulated drives on real North West roads (city centre, urban canyon, motorway, the Mersey tunnel, long waits, a missed turn) run against the TypeScript reference, Swift and Kotlin.
- Structured guidance steps with ready-to-speak instructions: lanes, signposted exits, forks ("Keep right onto M6 Toll"), roundabout exit counts, and "at the traffic lights".
- Free drive (no destination): the current road, its name and reference, the direction of travel and its speed limit, including UK national limits.
- Offline: signed package verification, activation and routing on a package
already on the device, on Android (the core's offline engine) and in React
Native and Flutter (
MeridianAtlasOfflineRoutes, through the same native engines); not in the Swift package yet (its offline variant isn't released). An offline route comes back as the sameAtlasRouteas an online one, with the same roundabout-exit and fork wording for regional packages; a damaged package file is refused with an error code rather than crashing the app. A download API shipped too, but no Atlas service serves packages yet: downloads over the network come after launch.
Platforms
- iOS 13+ (the Swift package: iOS 15+) and Android 7.0+ (API 24).
- React Native: a native module (autolinked; New Architecture through the
interop layer) and
createAtlasNativeBridges. - Flutter: a plugin for iOS and Android.
- In React Native and Flutter, GPS runs natively while a session is active (high accuracy); on Android a location foreground service keeps guidance going with the screen off.
Routes
- A routes client in every SDK (
MeridianAtlasRoutes,AtlasSwiftRoutes): a route from the Atlas service with its guidance decoded and a plan ready to navigate, andreroute(effect)for request_reroute. POST /v1/routestakes an optionalheading, passed through to the router, so a reroute starts the way the car is facing.
Map
- A map view in every SDK:
AtlasSwiftMapView(iOS),AtlasMapView(Android and Flutter) and theMeridianAtlasMapnative view in React Native. Each shows the Atlas 3D viewer (atlas-map-host-v1) with the app's route, and moves the car with each navigation snapshot, estimated progress through a tunnel included; in free drive the car follows the road it is matched to, and scenery streams ahead of it. React Native and Flutter wrap the native views, so apps need no web-view package. - Map presentation contract: 2D/3D, building display and opacity, and styles:
standardandneon-coast(a game-map look, flat only). - 3D roads near the car and streamed further out are drawn by one builder in one palette: every casing under every fill, so roads meet at junctions as one surface instead of overlapping in two styles.
Also
- Places search, traffic advisories, route matrix and multi-stop routing.
- Quickstarts whose samples run in the tests; API reference for all four platforms; example apps for Flutter and React Native.