Skip to main content

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

ParamValuesMeaning
embed1Embed mode — trims chrome, enables the bridge
fromreferenceRoute origin
toreferenceRoute destination
navpreview | liveDirections mode
uicomma listChrome flags, - prefix to disable
hostoriginParent origin, required when embed=1
sdksemverSDK build that produced this URL (telemetry only)

Chrome flags

ui is ignored unless embed=1 is present.

FlagControlsDefault (embed=1)
searchSearch baron
eventsEvents button and liston
directionsDirections entry pointson
panelInfo panel / mobile draweron
floorsFloor pickeron
locationCurrent-location buttonon
compassHybrid compass / home / 2D controlon
shareShare buttonon
expandOpen-in-new-tab buttonon
brandingWaylocate logo and campus badgeon, 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>