Skip to content

Documentation / @expofp/schema / FpGeo

Type Alias: FpGeo

ts
type FpGeo = object;

The full __fpGeo block.

Type Declaration

Index Signature

ts
[key: string]: unknown

images?

ts
optional images?: object[];

Index Signature

ts
[key: string]: unknown

properties?

ts
optional properties?: object;

Index Signature

ts
[key: string]: unknown

properties.config?

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

properties.config.bearing?

ts
optional bearing?: number;

properties.config.p0?

ts
optional p0?: object;

properties.config.p0.lat

ts
lat: number;

properties.config.p0.lng

ts
lng: number;

properties.config.p0.x

ts
x: number;

properties.config.p0.y

ts
y: number;

properties.config.p1?

ts
optional p1?: object;

properties.config.p1.lat

ts
lat: number;

properties.config.p1.lng

ts
lng: number;

properties.config.p1.x

ts
x: number;

properties.config.p1.y

ts
y: number;

properties.config.p2?

ts
optional p2?: object;

properties.config.p2.lat

ts
lat: number;

properties.config.p2.lng

ts
lng: number;

properties.config.p2.x

ts
x: number;

properties.config.p2.y

ts
y: number;

properties.config.p3?

ts
optional p3?: object;

properties.config.p3.lat

ts
lat: number;

properties.config.p3.lng

ts
lng: number;

properties.config.p3.x

ts
x: number;

properties.config.p3.y

ts
y: number;

properties.config.snapThreshold?

ts
optional snapThreshold?: number;

properties.config.style?

ts
optional style?: "light" | "dark";

Basemap palette the drawing is authored for (MapThemeSchema) — what the Designer emits. Left unset by drawings that predate it, where the SDK falls back to __fpSettings.backgroundColor's lightness.

properties.config.type?

ts
optional type?: "maplibre";

The map the drawing is authored for. 'maplibre' — the only value the Designer emits — asks the SDK to render the plan on the MapLibre basemap; unset leaves the plan on the plain floor plan. An explicit enableExperimentalMaplibre from any config layer still overrides it.

properties.mpViewbox?

ts
optional mpViewbox?: number[];

properties.useMaplibre?

ts
optional useMaplibre?: boolean;