Skip to content

Wayfinding ​

Pro & EnterpriseWayfinding setup requires a Pro or Enterprise subscription.
Compare plans

Wayfinding lets visitors find the fastest route between any two points on your map, including across multiple floors.

Video: Routes1:23

How It Works ​

  1. Visitor selects an origin (area or marker)
  2. Visitor selects a destination
  3. Layota calculates the shortest path and displays it on the map
  4. If the route crosses floors, the path is split into segments with transition indicators

A route only changes floor when it has to. Between two places on the same floor it stays on that floor, even if a walk on the floor above would be slightly shorter. A route between floors only moves toward the destination's floor: it never goes up to come back down. Floors count as above or below each other in the order of your level list. A route leaves this rule only when no route follows it. For example, two halves of a floor that only a bridge on another floor joins.

Setting Up Wayfinding ​

1. Draw Corridors ​

Corridors are walkable paths on each level. Open the Wayfinding panel in the editor and draw corridor lines connecting areas and markers.

Wayfinding panel in the editor

One-way corridors ​

By default a corridor can be travelled both ways. For a one-way road or circuit (the loop road of an RV park, a car park lane, a one-way visitor route), open the corridor and set Movement to One way. Arrows appear along the corridor on the map and routes by car only follow them. If the arrows point the wrong way, press Reverse direction.

A closed corridor set to one way becomes a one-way circuit: the panel shows whether it runs clockwise or counter-clockwise. A route to a place behind you then carries on round the loop instead of turning back.

One way binds vehicles. Pedestrians walk a one-way road both ways, so a road drawn once serves cars and people on foot. For a one-way route on foot (a museum circuit, a queue), untick Vehicles under Used by: on a pedestrians-only corridor routes on foot follow the arrows too. Branches to areas and markers stay two-way.

Who uses a corridor: route modes ​

A visitor can ask for a route on foot, by car or step-free (for a wheelchair or a stroller). Under Used by each corridor has three ticks, all on for a new corridor:

TickOff means
PedestriansVehicles only: a road without a pavement. Routes on foot and step-free routes skip it
VehiclesPedestrians only: a footpath, a hall, a stairway. Routes by car skip it
Wheelchairs & strollersThe corridor has steps (outdoor stairs, a kerb without a ramp): step-free routes skip it

One of the first two always stays on, and wheelchairs & strollers need the corridor open to pedestrians.

A few steps at one spot. When only a short stretch of a path has steps (three steps up to a terrace, a kerb), leave Wheelchairs & strollers on and add the steps instead: open the corridor, click Add steps under Steps, then click the corridor where the steps are. A step-free route goes round that stretch only, from the nearest branch or point on either side; routes on foot and by car ignore it. The map shows a steps sign there, and on a route that walks over the steps. Remove steps with the × next to them in the list.

Between floors a step-free route takes lifts, ramps and entrances, never stairs or escalators. A route by car stays on its floor, except up and down ramps (a multi-storey car park).

In the editor a pedestrians-only corridor is drawn dashed and a vehicles-only one in grey, so the network can be checked at a glance. The corridor list shows pedestrians, vehicles and steps next to the corridors that are for pedestrians only, for vehicles only or have steps.

Route modes for visitors (at the top of the Wayfinding panel) are the modes a visitor can choose: tick On foot, By car and Step-free (wheelchair, stroller) as fit the place. With more than one ticked, the route builder shows them as buttons under the start and the destination, and Default route mode sets the one it opens in: By car for an RV park or a campground, where guests drive to their site; On foot for a campus, a mall or a museum. A map saved before this setting offers only its default mode.

By car takes the car whenever a road can: from a place on a road it drives; from a place off the roads (a pool, a museum in a park) it walks the footpaths to the nearest road first, with a By car sign where the car is taken. When the destination is reached only by a footpath, the route drives to the point closest to it, shows an On foot sign where the car stops, and walks the rest. A place on a road (an RV site) is driven to the door. Both signs use the map's own words for the modes, in its language. The route is drawn in the line style set in Appearance → Route; switch on Own style for the part by car there to give the drive its own colour and style (say grey and solid, with the walks dotted).

If there is no route between the two places in the chosen mode (by car when the car can't take part, step-free when only stairs lead there), the route builder switches to On foot, shows the way on foot, greys that mode out for these two places and says so under the mode buttons ("No step-free route between these places.").

2. Add Floor Transitions ​

Video: Floors and transitions1:25

Place transition points (elevators, stairs, escalators) that connect corridors across levels. Each transition connects a point on one level to a point on another.

3. Connect Areas and Markers ​

Link areas and markers to nearby corridor points so the routing engine knows how to reach them.

A link can open the map with the route already drawn — no code on your page:

https://app.layota.app/embed/PROJECT_ID?from=reception&to=pitch-74
  • Booking confirmations: the way from reception to the guest's pitch or room.
  • QR codes at entrances: ?from=entrance-north opens the route builder with the start filled in, so the route starts where the visitor stands.
  • Meeting invites: ?to=room-214; the visitor picks where they start.

Name each end by its key (the Key (Slug) field of the area or marker), its id, or its title in any project language. Give places a key such as pitch-74 and a booking system can fill in the link for every booking. Add &mode=drive, &mode=walk or &mode=stepfree to pick how the route is travelled: ?from=entrance&to=site-64&mode=drive is the way an RV takes to its site. See Route in a link for the details.

The Share button ​

Visitors don't need to know the link format: once a route is drawn, a Share button appears right of Build route. It offers a link — the system share sheet on a phone (WhatsApp, Messages, Mail), a copied link on a desktop — and a QR code of the same link. The link opens the same route — on your own page when the map is embedded with <layota-map>. A place's card has the same button next to its name. See Share button.

Route via SDK ​

Build and display routes programmatically:

typescript
// By id, key or title — found on any level
map.buildRoute('entrance', 'cafe')

// Or exactly
map.buildRoute(
  { id: 'entrance', type: 'area', levelId: 'floor-1' },
  { id: 'cafe',     type: 'area', levelId: 'floor-2' }
)

// By car, on foot or step-free (wheelchair, stroller); without it the map's default mode
map.buildRoute('entrance', 'site-64', { mode: 'drive' })

// Clear the displayed route
map.clearRoute()

The routeBuilt event fires when a route is calculated:

typescript
map.on('routeBuilt', ({ route, levelId }) => {
  console.log('Total distance:', route.totalDistance)
  console.log('Segments:', route.segments.length)
})

map.on('routeNotFound', () => {
  console.log('No route available')
})

Route Result ​

typescript
interface RouteResult {
  segments: RouteSegment[]
  totalDistance: number
}

interface RouteSegment {
  levelId: string
  points: RoutePoint[]
}

interface RoutePoint {
  x: number
  y: number
}

Each segment represents a portion of the route on a single floor. Multi-floor routes have multiple segments.

Layota Documentation