StandalonePopupSchema
constStandalonePopupSchema:ZodObject<{at:ZodTuple<[ZodNumber,ZodNumber],null>;closeButton:ZodOptional<ZodBoolean>;closeOnClick:ZodOptional<ZodBoolean>;content:ZodArray<ZodRecord<ZodString,ZodArray<ZodType<{[key:string]:unknown;alt?:string;else?:string;format?:string;href?:string;property?:string;src?:string;str?:string| {$html:string; };text?:string; },ZodTypeDef, {[key:string]:unknown;alt?:string;else?:string;format?:string;href?:string;property?:string;src?:string;str?:string| {$html:string; };text?:string; }>,"many">>,"many">;maxWidth:ZodOptional<ZodString>; },"strip",ZodTypeAny, {at: [number,number];closeButton?:boolean;closeOnClick?:boolean;content:Record<string,object[]>[];maxWidth?:string; }, {at: [number,number];closeButton?:boolean;closeOnClick?:boolean;content:Record<string,object[]>[];maxWidth?:string; }>
Defined in: packages/core/src/schemas/map.schema.ts:528
One standalone popup, open at a coordinate (U14).
Remarks
Section titled “Remarks”MapLibre’s display-a-popup: a popup with no layer under it and no pin
above it. A marker with its pin hidden is NOT the same thing — a marker’s
popup opens on click, so a pinless marker would be content nobody can
open. This construct is open from load and closes like any MapLibre popup.
content is the same structured popup vocabulary layer and marker popups
use, rendered through the same PopupBuilder(policy) trust gate — there
is no feature, so property: lookups resolve empty and str: carries the
text. Export class: no-export (a popup is DOM, not cartography).