Skip to content

Documentation / @expofp/schema / Data

Type Alias: Data ​

ts
type Data = object;

The expo data document — the __data global of the legacy data.js: every config field optional, plus the deprecated nested flags.

Type Declaration ​

Index Signature ​

ts
[key: string]: unknown

allow3dView? ​

ts
optional allow3dView?: boolean;

allowConsent? ​

ts
optional allowConsent?: boolean;

alwaysShowSidebar? ​

ts
optional alwaysShowSidebar?: boolean;

autoTrackingGps? ​

ts
optional autoTrackingGps?: boolean;

booths? ​

ts
optional booths?: (
  | {
[key: string]: unknown;
  availColor?: string;
  buyUrl?: string;
  exhibitors?: number[];
  externalId?: string;
  holdColor?: string;
  id: number;
  labelColor?: string;
  meta?: Record<string, string>;
  name: string;
  poiTypeId?: number;
  price?: string;
  reserveUrl?: string;
  size?: string;
  soldColor?: string;
  status?: "onhold" | "reserved";
  title?: string;
  type?: string;
}
  | {
[key: string]: unknown;
  color?: string;
  description?: string;
  exhibitors?: number[];
  externalId?: string;
  id: number;
  meta?: Record<string, string>;
  name: string;
  poiTypeId?: number;
  special: true;
  title?: string;
})[];

boothTerm? ​

ts
optional boothTerm?: string;

busRoutes? ​

ts
optional busRoutes?: boolean;

Enable live bus/transport routing on the floor plan.

Disabled by default: most plans have no transit routes, and probing for them issues an extra HTTP request on every load. Set to true only for plans that actually provide bus routes.

camera? ​

ts
optional camera?: object = CameraSchema;

The initial camera, applied once at boot (an empty object means "don't move"). The URL form is ?camera[x]=…; the runtime counterpart is FloorPlan.setCamera / the setCamera intent.

camera.bearing? ​

ts
optional bearing?: number;

Map rotation in degrees (0–360).

camera.floor? ​

ts
optional floor?: string;

Floor name to activate.

camera.lat? ​

ts
optional lat?: number;

Center, GPS latitude (paired with lng).

camera.lng? ​

ts
optional lng?: number;

Center, GPS longitude (paired with lat).

camera.pitchDegrees? ​

ts
optional pitchDegrees?: number;

Camera tilt back from top down, in degrees.

camera.pitchTime? ​

ts
optional pitchTime?: number;

Tilt animation duration in milliseconds.

camera.x? ​

ts
optional x?: number;

Center, floor-plan projected coordinates (paired with y).

camera.y? ​

ts
optional y?: number;

Center, floor-plan projected coordinates (paired with x).

camera.zoomTime? ​

ts
optional zoomTime?: number;

Camera movement animation duration in milliseconds.

categories? ​

ts
optional categories?: object[];

Index Signature ​

ts
[key: string]: unknown
ts
optional consent?: "ask" | "granted" | "denied" = ConsentSchema;

customCss? ​

ts
optional customCss?: string;

customCssFonts? ​

ts
optional customCssFonts?: object[];

Index Signature ​

ts
[key: string]: unknown

customKioskQrCodeUrl? ​

ts
optional customKioskQrCodeUrl?: string;

customSetKiosk? ​

ts
optional customSetKiosk?: string;

Custom setkiosk phrase.

debugMode? ​

ts
optional debugMode?: boolean;

Debug mode: verbose logs, the in-map debug overlay, dev-leniency in error paths.

debugPattern? ​

ts
optional debugPattern?: string;

dimensionless? ​

ts
optional dimensionless?: boolean;

disableBookmarked? ​

ts
optional disableBookmarked?: boolean;

Disable adding entities to bookmarks.

disableFeatured? ​

ts
optional disableFeatured?: boolean;

Drop the featured flag from every exhibitor (no featured view).

disableGps? ​

ts
optional disableGps?: boolean;

Start with GPS tracking off.

disableRuntimeAlerts? ​

ts
optional disableRuntimeAlerts?: boolean;

enableExperimentalMaplibre? ​

ts
optional enableExperimentalMaplibre?: boolean;

Enable experimental MapLibre GL JS support.

enableExperimentalOutdoorMarkers? ​

ts
optional enableExperimentalOutdoorMarkers?: boolean;

Enable experimental outdoor PoI markers: booths on an Outdoor* layer leave the renderer scene and draw as fixed-size native MapLibre markers with clustering.

Unset or false disables the feature outright — Outdoor layers then render like any other layer, exactly as they did before it existed. Unlike enableExperimentalMaplibre this is NOT tri-state: no drawing field opts a plan in, so there is nothing for undefined to defer to.

enableIPS? ​

ts
optional enableIPS?: boolean;

enableRotation? ​

ts
optional enableRotation?: boolean;

endDate? ​

ts
optional endDate?: string;

events? ​

ts
optional events?: object[];

Index Signature ​

ts
[key: string]: unknown

exhibitors? ​

ts
optional exhibitors?: object[];

Index Signature ​

ts
[key: string]: unknown

exhibitorTerm? ​

ts
optional exhibitorTerm?: string;

exhibitorTermPlural? ​

ts
optional exhibitorTermPlural?: string;

expo? ​

ts
optional expo?: string;

expoFpAd? ​

ts
optional expoFpAd?: boolean;

filterButtonsConfig? ​

ts
optional filterButtonsConfig?: object = FilterButtonsConfigSchema;

Index Signature ​

ts
[key: string]: unknown

filterButtonsConfig.isExplicit? ​

ts
optional isExplicit?: boolean;

filterButtonsConfig.searchButtons? ​

ts
optional searchButtons?: object[];
Index Signature ​
ts
[key: string]: unknown

filterButtonsConfig.sortType? ​

ts
optional sortType?: "custom" | "alphabetical";

filters? ​

ts
optional filters?: object = FiltersSchema;

Search filters applied once at boot by the URL filter manager (an empty object applies nothing). Canonical URL form ?filters[categories][0]=food; the legacy ?categories=/?poiType=/?poiTypes=/?exhibitors=true keys keep working — and remain the form the floor plan writes back to the URL as the visitor changes filters.

filters.categories? ​

ts
optional categories?: string[];

Category names to pre-select; opens the category filter panel.

filters.exhibitors? ​

ts
optional exhibitors?: boolean;

true opens the exhibitors list at boot.

filters.poiType? ​

ts
optional poiType?: string;

A single POI type to pre-select; also activates its search filter button.

filters.poiTypes? ​

ts
optional poiTypes?: string[];

POI type names to pre-select (no filter-button activation).

flags? ​

ts
optional flags?: object;

Index Signature ​

ts
[key: string]: unknown

flags.busRoutes? ​

ts
optional busRoutes?: boolean;

Enable live bus/transport routing on the floor plan.

Disabled by default: most plans have no transit routes, and probing for them issues an extra HTTP request on every load. Set to true only for plans that actually provide bus routes.

flags.customSetKiosk? ​

ts
optional customSetKiosk?: string;

Custom setkiosk phrase.

flags.enableExperimentalMaplibre? ​

ts
optional enableExperimentalMaplibre?: boolean;

Enable experimental MapLibre GL JS support.

flags.enableExperimentalOutdoorMarkers? ​

ts
optional enableExperimentalOutdoorMarkers?: boolean;

Enable experimental outdoor PoI markers: booths on an Outdoor* layer leave the renderer scene and draw as fixed-size native MapLibre markers with clustering.

Unset or false disables the feature outright — Outdoor layers then render like any other layer, exactly as they did before it existed. Unlike enableExperimentalMaplibre this is NOT tri-state: no drawing field opts a plan in, so there is nothing for undefined to defer to.

flags.hideBoothBadges? ​

ts
optional hideBoothBadges?: boolean;

Hide booth number badges.

fpSvgJsRef? ​

ts
optional fpSvgJsRef?: 
  | {
  $ref: string;
}
  | null;

fp.svg.js ref (the drawing); null derives <legacyDataUrlBase>fp.svg.js.

fpSvgLayerJsRefs? ​

ts
optional fpSvgLayerJsRefs?: Record<string, {
  $ref: string;
}>;

Per-layer fp.svg.<layerName>.js refs (by layer name), resolved on demand.

free? ​

ts
optional free?: boolean;
ts
optional gallery?: string[];

gtag? ​

ts
optional gtag?: string;

heatmap? ​

ts
optional heatmap?: object = HeatmapSchema;

Heatmap mode, engaged once at boot (an empty object — the default — means no heatmap). A non-empty node engages the mode unless enabled is explicitly false, so heatmap: { variant: 'yah' } implies enabled; variant picks the dataset (booths view stats by default, yah for "You are here" QR scans; kiosk: true narrows yah to kiosk positions). Heatmap mode freezes the page URL for the whole session (the legacy contract). The legacy ?heatmap=true&type=yah&subtype=kiosk links keep working as a translation; the access token ?t= stays a separate raw query param, not config.

heatmap.enabled? ​

ts
optional enabled?: boolean;

Engage the heatmap explicitly; false vetoes an otherwise non-empty node.

heatmap.kiosk? ​

ts
optional kiosk?: boolean;

Narrow the yah variant to kiosk positions (ignored for booths).

heatmap.variant? ​

ts
optional variant?: "booths" | "yah";

The dataset shown: booths (the default) — booth/exhibitor view stats; yah — "You are here" QR-code scan counts, with a stripped-down monochrome presentation.

hide3dMapDefault? ​

ts
optional hide3dMapDefault?: boolean;

hideBookmarks? ​

ts
optional hideBookmarks?: boolean;
ts
optional hideBookmarksLink?: boolean;

hideBoothBadges? ​

ts
optional hideBoothBadges?: boolean;

Hide booth number badges.

ts
optional hideCategoriesLink?: boolean;

hideDirections? ​

ts
optional hideDirections?: boolean;
ts
optional hideDownloadPdfLink?: boolean;
ts
optional hideEventHomeLink?: boolean;

hideExhibitorBoothNumber? ​

ts
optional hideExhibitorBoothNumber?: boolean;

hideExhibitors? ​

ts
optional hideExhibitors?: boolean;
ts
optional hideHeaderLogo?: boolean;

Hide the header logo (and the ExpoFP logo).

hideLanguage? ​

ts
optional hideLanguage?: boolean;
ts
optional hideLanguageLink?: boolean;

hideLogoInBooth? ​

ts
optional hideLogoInBooth?: boolean;

Hide exhibitor logos inside booths.

hideModeSwitchButton? ​

ts
optional hideModeSwitchButton?: boolean;
ts
optional hideRegisterToAttendLink?: boolean;

hideShareButton? ​

ts
optional hideShareButton?: boolean;

hideWayInformation? ​

ts
optional hideWayInformation?: boolean;

homeUrl? ​

ts
optional homeUrl?: string;

ignoreQuery? ​

ts
optional ignoreQuery?: boolean;

intents? ​

ts
optional intents?: (
  | {
  args: [string];
  name: "selectBooth";
}
  | {
  args: [string];
  name: "selectExhibitor";
}
  | {
  args: [string];
  name: "changeLanguage";
}
  | {
  args: [string];
  name: "selectCategory";
}
  | {
  args: [string];
  name: "select";
}
  | {
  args: [
     | "exhibitors"
     | "bookmarks"
     | "visited"
     | "sessions"
     | "speakers"
     | "tours"
    | "language"];
  name: "showList";
}
  | {
  args: [string];
  name: "selectTour";
}
  | {
  args: [{
     from?: string;
     fromBookmarks?: boolean;
     items?: string[];
  }];
  name: "openPlanner";
}
  | {
  args: [];
  name: "startBuildRoute";
}
  | {
  args: [{
     bearing?: number;
     floor?: string;
     lat?: number;
     lng?: number;
     pitchDegrees?: number;
     pitchTime?: number;
     x?: number;
     y?: number;
     zoomTime?: number;
  }];
  name: "setCamera";
}
  | {
  args: [{
     controls?: boolean;
     header?: boolean;
     levels?: boolean;
     overlay?: boolean;
     searchButtons?: boolean;
  }];
  name: "setVisibility";
}
  | {
  args: [string[]];
  name: "selectRoute";
}
  | {
  args: [string[]];
  name: "selectAccessibleRoute";
}
  | {
  args: [string, string[]];
  name: "showPathway";
}
  | {
  args: [{
     angle?: number;
     lat?: number;
     lng?: number;
     x: number;
     y: number;
     z?: string | number;
  }, boolean, number?];
  name: "selectCurrentPosition";
})[];

isRebooking? ​

ts
optional isRebooking?: boolean;

isTrial? ​

ts
optional isTrial?: boolean;

kiosk? ​

ts
optional kiosk?: object = KioskSchema;

The kiosk anchor — where a kiosk device stands and how its camera is framed, applied at boot when the device has no locally-saved kiosk (the on-device SetKiosk flow wins; localStorage['kiosk']='0' disables both). Canonical URL form ?kiosk[x]=…, and ?kiosk=1/0 keeps toggling kiosk mode. The legacy kiosk_x/y/z params are a separate, narrower channel: they carry the anchor POSITION to a phone scanning a kiosk's route QR code, and put that phone in no kiosk mode of its own.

kiosk.heading? ​

ts
optional heading?: number;

Device heading in degrees — rotates the you-are-here marker.

kiosk.iconSizePercent? ​

ts
optional iconSizePercent?: number;

You-are-here icon size, in percent.

kiosk.lat? ​

ts
optional lat?: number;

GPS latitude (with lng, an alternative fix to x/y).

kiosk.lng? ​

ts
optional lng?: number;

GPS longitude.

kiosk.mapBearingDegrees? ​

ts
optional mapBearingDegrees?: number;

Map bearing at the home framing, degrees (map mode).

kiosk.mapCenterLat? ​

ts
optional mapCenterLat?: number;

Home framing center latitude (map mode).

kiosk.mapCenterLng? ​

ts
optional mapCenterLng?: number;

Home framing center longitude (map mode).

kiosk.mapCenterX? ​

ts
optional mapCenterX?: number;

Home framing center x.

kiosk.mapCenterY? ​

ts
optional mapCenterY?: number;

Home framing center y.

kiosk.mapInitialPtScale? ​

ts
optional mapInitialPtScale?: number;

The pt-scale captured when the kiosk was set up (zoom reference).

kiosk.mapPitch? ​

ts
optional mapPitch?: number;

Map pitch at the home framing, degrees.

kiosk.mapPitchDegrees? ​

ts
optional mapPitchDegrees?: number;

Map pitch at the home framing, degrees (map mode).

kiosk.mapPtScale? ​

ts
optional mapPtScale?: number;

The pt-scale of the saved framing.

kiosk.mapRollDegrees? ​

ts
optional mapRollDegrees?: number;

Map roll at the kiosk's home framing, degrees.

kiosk.mapZoom? ​

ts
optional mapZoom?: number;

Map zoom level at the home framing (map mode).

kiosk.uiScale? ​

ts
optional uiScale?: number;

Per-device UI scale preference (the applied range is 0.8–1.4).

kiosk.x? ​

ts
optional x?: number;

Anchor x in plan coordinates.

kiosk.y? ​

ts
optional y?: number;

Anchor y in plan coordinates.

kiosk.z? ​

ts
optional z?: string | number | null;

Floor: the level name (a numeric index is accepted and stringified). Nullable — the on-device SetKiosk flow writes null for a plan with no layers, and that record round-trips through localStorage.

levelTerm? ​

ts
optional levelTerm?: string;

locale? ​

ts
optional locale?: string;
ts
optional logo?: string;

maplibre? ​

ts
optional maplibre?: object = MapLibreConfigSchema;

Index Signature ​

ts
[key: string]: unknown

maplibre.offline? ​

ts
optional offline?: boolean;

The style and everything it references (tiles, sprites, glyphs) are reachable without network — lets the map stay enabled while navigator.onLine is false.

maplibre.style? ​

ts
optional style?: any;

Inline style object (takes precedence over styleUrl). With no style URL to resolve against, every URL inside it must already be full.

maplibre.styleUrl? ​

ts
optional styleUrl?: string;

Full, rooted, or relative URL of a MapLibre style document, fetched by MapLibre GL itself. Its internal resources are resolved by the SDK before MapLibre consumes the loaded style.

mobileLocationProvider? ​

ts
optional mobileLocationProvider?: string | null;

Indoor-positioning provider for the native SDKs, opaque web-side: <provider>.<version>.<base64url credentials>, e.g. indooratlas.1.SGVsbG8gV29ybGQh. null (the default) means none — not '', so the native bridge sees Kotlin null / Swift nil.

monochrome? ​

ts
optional monochrome?: boolean;

Render the plan in grayscale.

noFeatured? ​

ts
optional noFeatured?: boolean;

noOverlay? ​

ts
optional noOverlay?: boolean;

offHistory? ​

ts
optional offHistory?: boolean;

onlyFeaturedExhibitors? ​

ts
optional onlyFeaturedExhibitors?: boolean;

poiTypes? ​

ts
optional poiTypes?: object[];

Index Signature ​

ts
[key: string]: unknown

previewMode? ​

ts
optional previewMode?: boolean;

registerUrl? ​

ts
optional registerUrl?: string;

reserveButtonTerm? ​

ts
optional reserveButtonTerm?: string;

reserveInstructions? ​

ts
optional reserveInstructions?: string;

searchText? ​

ts
optional searchText?: string;

sendLoginLinkUrl? ​

ts
optional sendLoginLinkUrl?: string;

shortLevelName? ​

ts
optional shortLevelName?: boolean;

showCategories? ​

ts
optional showCategories?: boolean;

showCompaniesAndBooths? ​

ts
optional showCompaniesAndBooths?: boolean;

showDebugButton? ​

ts
optional showDebugButton?: boolean;

showLevelLabel? ​

ts
optional showLevelLabel?: boolean;

showOtherSpaces? ​

ts
optional showOtherSpaces?: boolean;

startDate? ​

ts
optional startDate?: string;

subtitle? ​

ts
optional subtitle?: string;

title? ​

ts
optional title?: string;

trackerUrl? ​

ts
optional trackerUrl?: string;

trialExpiresAt? ​

ts
optional trialExpiresAt?: string;

viewerMode? ​

ts
optional viewerMode?: boolean;

viewOptimizationLevel? ​

ts
optional viewOptimizationLevel?: number;

visibility? ​

ts
optional visibility?: object = VisibilitySchema;

Visibility of the map chrome, applied once at boot. An empty object leaves the chrome untouched; a non-empty one REBUILDS the set — every element it omits resets to visible — so a URL that hides one element must list every other element it also wants hidden. The URL form is ?visibility[header]=false; the runtime counterpart is FloorPlan.setVisibility / the setVisibility intent.

visibility.controls? ​

ts
optional controls?: boolean;

The map controls (zoom buttons, …).

visibility.header? ​

ts
optional header?: boolean;

The header bar — logos and the free/demo badge.

visibility.levels? ​

ts
optional levels?: boolean;

The floor selector.

visibility.overlay? ​

ts
optional overlay?: boolean;

The overlay panel — search, lists, entity details.

visibility.searchButtons? ​

ts
optional searchButtons?: boolean;

The search-filter buttons row. Omitted, it follows overlay; an explicit true keeps the buttons while the overlay is hidden — clicking one opens the overlay on demand (?visibility[overlay]=false&visibility[searchButtons]=true).

wfDataJsRef? ​

ts
optional wfDataJsRef?: 
  | {
  $ref: string;
}
  | null;

wf.data.js (wayfinding graph) ref; null without legacy data.