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']);

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

After optimization
