URL parameters
Works with no JavaScript on the host page. Sets initial state only.
Path
https://waylocate.com/{campus}
https://waylocate.com/{campus}/{building}
https://waylocate.com/{campus}/{building}/{room}
Query parameters
| Param | Values | Meaning |
|---|---|---|
embed | 1 | Embed mode — trims chrome, enables the bridge |
from | reference | Route origin |
to | reference | Route destination |
nav | preview | live | Directions mode |
ui | comma list | Chrome flags, - prefix to disable |
host | origin | Parent origin, required when embed=1 |
sdk | semver | SDK build that produced this URL (telemetry only) |
Chrome flags
ui is ignored unless embed=1 is present.
| Flag | Controls | Default (embed=1) |
|---|---|---|
search | Search bar | on |
events | Events button and list | on |
directions | Directions entry points | on |
panel | Info panel / mobile drawer | on |
floors | Floor picker | on |
location | Current-location button | on |
compass | Hybrid compass / home / 2D control | on |
share | Share button | on |
expand | Open-in-new-tab button | on |
branding | Waylocate logo and campus badge | on, not disableable |
Example:
<iframe
src="https://waylocate.com/sbu/engineering-hall?embed=1&ui=-search,-events&host=https%3A%2F%2Fexample.edu"
width="100%" height="600"
title="Campus map"
allow="geolocation"
></iframe>