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 (icons only when all three are offered), 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).

The route is drawn as soon as both ends are picked — there is no button to press — and taken down when one is emptied (the cross in each field empties it in one press). Before the visitor types anything, the From and To lists of the route builder offer the map's popular places — the ones you picked in the Search panel. On a map with visitor location, From starts with My location.

If no path joins the two places at all (a place by a path of its own that connects to nothing), the map still shows the way as far as it can: the route follows the paths to the point nearest to the place, and the rest is a thin line in flight — an arc over its shadow, never mistaken for a path. The route builder says "No path leads all the way to this place. The thin line shows the direction." Such a request is still counted as a route not found, so the unfinished routes report shows where a path is missing; draw a corridor or a branch to the place to fix it. Places on different levels with no transition between them get no line, only "No route between these places."

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.

Parking of a place ​

On a campsite or a holiday park a guest does not always park at the door: a mobile home in a car-free lane has its own bay at the end of the road, a group of houses shares a car park by the reception. Give such a place its Parking, and a route by car to it drives to that parking, shows the On foot sign there and walks the rest — even when a road passes right by the door.

Open the area or the marker, switch on Own parking under Parking, then Add parking:

  • A point on the plan — click where the car is left (a bay drawn on the plan, a spot by the road), or
  • A car park on the plan — click a car park drawn as an area or a marker on this level.

While you pick, the place's card steps aside and the hint at the bottom of the plan says what the click does; Cancel or Esc stops. A place can have up to 5, listed and drawn on the plan as P1, P2 … With several, the route takes the one that is quickest from where it starts. A route by car from the place walks to its parking first and takes the car there. Switching Own parking off removes them.

Visitors don't see the parking itself — only the route: where the car is left at a place's own parking, the sign reads P + On foot.

The parking needs a road for the car and a path for the walk: a point joins the nearest of each, a car park drawn as a place is entered by its own branches. With the Way finding section open, every parking point on the level is drawn as a P with the names of the places it serves; to lead the car into a bay away from the road, draw a branch from the road to that P — the branch snaps onto it — and finish it there, linked to no place. The route then drives along the branch into the bay and walks back out along it. Place the point by a road or draw such a branch: otherwise the car is drawn going straight from the nearest road to the point. If none of a place's parking can be reached by car, the route by car ignores it. Routes on foot and step-free never use it.

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.
  • On arrival, from where the guest stands: with visitor location on, a link with only ?to=pitch-74 draws the route from the visitor as soon as their phone finds them on the map. A visitor who is not on the map, or has location off, picks the start as above.

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 under the two ends, right of the mode buttons. 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