Skip to content
news / landmark-directions · raw .md
RoutingUpdated 5 min readMapMap engineering
Plan view of a road junction where a manoeuvre arrow pivots around one emphasised point-of-interest node ringed by a confidence halo, while the other candidate nodes fade to dashed outlines.

Turn right just after KFC: landmark directions

Turn instructions can now reference a recognisable place instead of a bare street name: "Turn right just after KFC" rather than "Turn right onto Mill Road". The landmarks come from MapMap's first-party POI index, queried around each manoeuvre point on the selected route, and the feature is confidence-gated: a place is only named when it clears a salience bar, sits within 40 m of the junction and shows no signs of staleness. When no candidate qualifies, the instruction keeps the street name, deliberately. It runs on the map, toggled with "Landmark directions" under Options in the directions panel, and on the routing API, where a top-level "landmarks": true adds a landmark_instruction to every eligible manoeuvre. Measured across 60 routes in 60 UK towns and cities, 29.9% of eligible turns get one.

Why are street names the wrong anchor for a turn?

Street names are how maps think, and landmarks are how drivers think. The road network is indexed by names, so every routing engine naturally emits "turn right onto Mill Road". But a driver approaching a junction is not looking at a database. They are looking at buildings, forecourts and lit signs, and the street plate that would confirm "Mill Road" is small, often unlit, sometimes missing, and usually only readable once the driver is already committed to the junction.

That is why a street-name instruction is effectively read twice. Once when it is issued, to learn that a turn is coming, and again at the junction, while the driver hunts for the plate that confirms this road is the right one. A landmark instruction is read once. "Just after KFC" resolves at a glance from well up the road, because the landmark is big, branded and lit, which is roughly the definition of a landmark. The confirmation work moves from the junction, where driver attention is scarcest, to the approach, where it is cheap.

Where do the landmarks come from?

From MapMap's first-party POI index, queried around each manoeuvre point on the selected route. We already build and rank our own place data rather than reselling a feed; that is the same design decision behind first-party geocoding, and it is what makes this feature possible to gate honestly. Because we hold the underlying records, the picker can see a candidate's category, whether it carries a known brand, exactly how far it sits from the junction, and whether its record carries markers that suggest the place no longer exists.

The instructions themselves stay in the same shape they always had. On the map the landmark phrasing replaces the street reference in the text you read. On the API it is purely additive: a landmark_instruction arrives beside the engine's own instruction, which is never overwritten, so you choose which to show and a client that ignores the field behaves exactly as it did. Either way it does not change the manoeuvre, the geometry or the structure of the steps described in turn-by-turn instructions in the Mapbox shape.

When does a landmark get named?

Only when one candidate clears every gate. Miss any of them and the instruction keeps the street name.

GateWhat clears it
SalienceThe place must be the sort of thing a driver navigates by. Petrol stations, supermarkets, stations, churches, pubs and department stores score highest, then cinemas, town halls and DIY sheds. A household name adds to the score, matched as whole words against the name and the brand tag, so "Tesco Express" counts and "BPX Logistics" is not mistaken for BP. Cafés, banks, pharmacies and takeaways sit below the bar on their own and need that brand to clear it.
ProximityThe place must sit within 40 m of the junction, close enough that "just after" is literally true. Inside that radius, distance only breaks ties between comparable places.
FreshnessThe place must show no signs of staleness. Records carrying disused, abandoned or closed markers are never referenced.
Manoeuvre shapeOnly turns, slight and sharp turns, and forks are annotated. "Take the second exit just after Tesco" is ambiguous about what the landmark qualifies, so roundabouts, merges, ramps and U-turns keep their own instruction.

The category weighting is not arbitrary. A petrol station forecourt is visible at night, from distance, from either direction. A branded supermarket is unambiguous in a way "the grey building" never is. An estate agent or a solicitor's office, by contrast, looks like every other shopfront on the parade, so generic retail scores low even when it is close to the junction.

Getting that weighting right took a measurement rather than an intuition. The first version named a landmark on 15% of eligible turns, and the obvious suspect was the salience bar being set too high. Measuring said the bar was innocent and three other things were wrong. The distance penalty was acting as a second gate, costing a place 40 m away more than the entire spread between a bakery and a petrol station, so a perfectly visible station across the junction scored below a café on the corner. The bonus for sitting on the approach side was worth a whole category tier, which promoted independent takeaways on kerb position alone. And a pub scored below a petrol station, which made "turn left just after the Red Lion" effectively impossible to produce in Britain. Fixing those three, with the bar left exactly where it was, took the yield to 29.9% and made the sample read cleaner rather than noisier: 20 pubs, 12 churches, two stations and no takeaways.

Why do we deliberately say nothing sometimes?

Because a wrong landmark is worse than a plain street name. The two failure modes are not symmetric. A dull-but-correct instruction costs the driver a second read at the junction. A confident-but-wrong one, "turn right just after KFC" where the KFC closed last year, actively steers the driver past the correct turn while they wait for a landmark that never comes. The instruction sounded more helpful and delivered less.

So the bar is set to fail towards silence. When no candidate clears salience, proximity and freshness together, the instruction keeps the street name and says nothing about landmarks at all. This is the same engineering position we took with lane guidance, where a junction with no lane data gets no lane diagram rather than a guessed one. An instruction a driver cannot audit at speed has to be right, and where we cannot be confident it is right, the honest output is the boring one.

What are the limits today?

The gate is only as good as the data behind it. Three limits worth stating plainly:

  • The freshness gate is evidence-based, not omniscient. A place whose record carries closed or disused markers is never referenced, but a shop that shut recently and has not yet been marked can still be chosen. The gate removes known-stale places; it cannot remove unknown-stale ones.
  • Most junctions get no landmark, by design. If nothing salient sits within 40 m, the street name stands. Even after the retune that is about seven in 10 eligible turns, so most rural and residential junctions read exactly as they did before, and the feature earns its keep on high-street and retail-corridor turns where landmarks cluster.
  • The voice SDK does not speak it yet. MapMap Nav, our own app, uses the landmark phrasing as the spoken turn prompt when the gateway returned one, and navigation sessions return a landmark field for voice and wearable clients to read out. The published voice SDK does not bake landmarks into its prompts in v1, so an SDK build that wants the landmark spoken still hands the text to its own speech layer.

The map and its places derive from OpenStreetMap; credit © OpenStreetMap contributors when you render it.

How do I turn it on?

Open the map, plan a route, and switch on "Landmark directions" under Options in the directions panel. The choice is remembered on your device, so it stays set across visits. With the toggle off, instructions use street names everywhere; with it on, they use a landmark exactly where one clears the bar and street names everywhere else. The feature is documented alongside the rest of the web map in the maps guide.

From code, add "landmarks": true to a POST /route body, or landmarks=true alongside steps=true on the OSRM-shaped GET /route/v1/{profile}/{coordinates}; agents get the same flag on the MCP route tool. The response carries a landmarks block saying how many manoeuvres were annotated, and a note when the deployment has no place index at all, so "no landmarks" is never ambiguous between "nothing recognisable on this road" and "this gateway cannot look them up". The gates and the full response shape are in the API reference.

If the toggle changes how you read a route, that is the argument in one junction: the map thinks in street names, you drive by landmarks, and the instruction should be written for the person holding the wheel.