Skip to content

Documentation / @expofp/schema / FpGeoConfig

Type Alias: FpGeoConfig ​

ts
type FpGeoConfig = object;

__fpGeo.properties.config: corner anchors, map orientation, and palette.

Type Declaration ​

Index Signature ​

ts
[key: string]: unknown

bearing? ​

ts
optional bearing?: number;

p0? ​

ts
optional p0?: object;

p0.lat ​

ts
lat: number;

p0.lng ​

ts
lng: number;

p0.x ​

ts
x: number;

p0.y ​

ts
y: number;

p1? ​

ts
optional p1?: object;

p1.lat ​

ts
lat: number;

p1.lng ​

ts
lng: number;

p1.x ​

ts
x: number;

p1.y ​

ts
y: number;

p2? ​

ts
optional p2?: object;

p2.lat ​

ts
lat: number;

p2.lng ​

ts
lng: number;

p2.x ​

ts
x: number;

p2.y ​

ts
y: number;

p3? ​

ts
optional p3?: object;

p3.lat ​

ts
lat: number;

p3.lng ​

ts
lng: number;

p3.x ​

ts
x: number;

p3.y ​

ts
y: number;

snapThreshold? ​

ts
optional snapThreshold?: number;

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.

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.