Skip to content

Documentation / @expofp/schema / Options

Interface: Options

Extends

Properties

allowConsent?

ts
optional allowConsent?: boolean;

Inherited from

ts
z.infer.allowConsent

ts
optional consent?: "ask" | "granted" | "denied" = ConsentSchema;

Inherited from

ts
z.infer.consent

disableRuntimeAlerts?

ts
optional disableRuntimeAlerts?: boolean;

Inherited from

ts
z.infer.disableRuntimeAlerts

ignoreQuery?

ts
optional ignoreQuery?: boolean;

Inherited from

ts
z.infer.ignoreQuery

maplibre?

ts
optional maplibre?: object = MapLibreConfigSchema;

Index Signature

ts
[key: string]: unknown

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.

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.

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.

Inherited from

ts
z.infer.maplibre

noOverlay?

ts
optional noOverlay?: boolean;

Inherited from

ts
z.infer.noOverlay

offHistory?

ts
optional offHistory?: boolean;

Inherited from

ts
z.infer.offHistory

previewMode?

ts
optional previewMode?: boolean;

Inherited from

ts
z.infer.previewMode

viewerMode?

ts
optional viewerMode?: boolean;

Inherited from

ts
z.infer.viewerMode