A directions QR code is a location code with a different URL. Instead of dropping a pin, it opens a route to the destination. The difference between a code that sends visitors to the front door and one that sends drivers to the service gate is usually the destination string, the travel mode, and whether the link asks for navigation or just a map. All three are controllable, and none of them require an API key.
Location Link vs Directions Link
A search link answers the question where are you. A directions link answers the question how do I get there. They use different Google Maps endpoints: /maps/search/ for a pin, /maps/dir/ for a route.
The directions endpoint does not need an origin. If you omit it, Google uses the device's current location, which is exactly what a visitor standing in a car park wants. If you include an origin, the route is calculated from that fixed point, which is useful for a shuttle stop or a venue gate but wrong for everyone else.
Adding dir_action=navigate asks Google to start turn-by-turn navigation when the origin is the device location. Google ignores the parameter on products and routes where navigation is unavailable, so treat it as a request rather than a guarantee. For most printed signs, a route preview is enough and is less jarring than a voice that starts talking the moment the code is scanned.
The Google Maps Directions URL
The documented format is https://www.google.com/maps/dir/?api=1&destination=YOUR+ENCODED+DESTINATION. Google's Maps URLs documentation lists the parameters and their limits.
| Parameter | Required | Accepted values | Notes |
|---|---|---|---|
| api | Yes | 1 | Without it, all other parameters are ignored |
| destination | Recommended | Address, place name, or lat,lon | URL-encode it |
| origin | No | Address, place name, or lat,lon | Defaults to device location |
| travelmode | No | driving, walking, bicycling, two-wheeler, transit | Defaults to the most relevant mode |
| dir_action | No | navigate | Starts navigation where supported |
| waypoints | No | Places separated by a pipe | Up to 3 on mobile browsers, 9 elsewhere |
| avoid | No | ferries, highways, tolls | Comma-separated |
A driving link for a venue looks like this: https://www.google.com/maps/dir/?api=1&destination=12.9716%2C77.5946&travelmode=driving. A walking link swaps travelmode for walking. A transit link uses transit and is the one mode where a fixed origin is often more accurate than the device location, because transit routes depend on which station the rider starts from.
Waypoints are separated by a pipe, encoded as %7C. Mobile browsers support up to three; other platforms support up to nine. Do not rely on waypoints for a critical route: Google says the parameter is ignored on products that do not support it. If the route must pass a specific checkpoint, print the checkpoint as a second code or state it in words.
Apple Maps for iPhone Visitors
Apple Maps has its own URL format: https://maps.apple.com/?daddr=YOUR+DESTINATION&dirflg=d. Only daddr is required. The dirflg value selects the mode: d for driving, w for walking, r for transit. Apple documents the parameters in its Map Links reference.
Use an Apple Maps link when the audience is iPhone-only and you want the native app. Do not use one on a sign that Android users will scan: Android has no Apple Maps app, so the link falls back to a browser and a web map, which is a worse experience than the Google link.
A geo: URI such as geo:12.9716,77.5946 is the neutral option. It follows RFC 5870 and lets the phone choose its default map app, but it opens a picker or a bare pin rather than a business listing. For a mixed audience, a Google Maps URL is the safer default because Google Maps is available on both platforms.
Wayfinding Design That Works
The code is only half of the sign. The other half is the instruction next to it. Scan for directions to the main entrance is clearer than a bare QR square, and it sets the expectation that the scan will open a map rather than a menu.
Size the code for the distance at which it is read. The working rule of thumb is one unit of width per ten units of distance, so a sign read from 3 metres needs a code about 30 cm wide. Place it at a decision point, at roughly eye level, and keep it out of direct glare. A code flat on a glass door reflects the sky; a code on a matte panel at 1.2 to 1.5 metres does not.
Outdoor codes should use error correction level Q or H, a clear four-module quiet zone, and a matte laminate. If the sign is at a venue with several entrances, print one code per entrance and point each one at the correct gate. A single code that sends everyone to the main gate creates a queue at the wrong door.
Test the Route, Not Just the Scan
A scan test proves the code is readable. It does not prove the route is correct. Test the route from a nearby street and from a distant one, because Google may choose a different approach road at different distances.
- Scan from 200 metres away and confirm the route arrives at the correct entrance.
- Scan from 20 kilometres away and confirm the route does not send drivers through a closed gate or a residential lane.
- Switch to walking and transit and confirm those modes also land at the entrance.
- Open the link in a mobile browser as well as the Maps app; the two can behave differently.
- Drive the final turn yourself before the print run.
If the destination is a new building that Google has not mapped, a coordinates link is more reliable than an address. If the business has a listing, add the Place ID so the route targets the listing rather than a street number. The location QR guide covers the payload choices in more detail.
