Skip to content

Wayfinding ​

This guide covers multipoint routing: routes through several booths or points of interest in the embedded map, including optional reordering so visitors visit POIs efficiently.

πŸ’‘ Multipoint routing APIs are documented in the JS SDK

Route Creation ​

Attendees can view routes that connect multiple points of interest (POIs).

πŸ“ Route limits

A maximum of 8 intermediate waypoints is allowed (total: origin + 8 waypoints + destination = 10)

js
___fp.selectRoute(['42-1', '42-21', '42-37', '42-52', '101-17', '101-12']);
Route Creation 1Route Creation 2

Open live example

Optimization ​

An optional optimization mode computes the most efficient order in which to visit the selected POIs.

js
const selectedRoute = ___fp
  .getOptimizedRoutes(['42-1', '42-21', '42-3', '41-3'])
  .flatMap((route) => route.waypoints);
___fp.selectRoute(selectedRoute);

Before optimization

Before Optimization

After optimization

After Optimization

Open live example