ChapterLayersSchema
constChapterLayersSchema:ZodObject<{hide:ZodDefault<ZodArray<ZodString,"many">>;show:ZodDefault<ZodArray<ZodString,"many">>; },"strip",ZodTypeAny, {hide:string[];show:string[]; }, {hide?:string[];show?:string[]; }>
Defined in: packages/core/src/schemas/scrollytelling.schema.ts:158
Chapter layer visibility configuration.
Remarks
Section titled “Remarks”Controls which layers are visible during this chapter. The ids name layers
of the story (its layers:) or of the basemap style.
Example
Section titled “Example”chapters: - id: faults title: Along the fault center: [-122.4, 37.7] zoom: 8 layers: show: - earthquakes - fault-lines hide: - buildings