StoryMapJS API
    Preparing search index...

    Function storymapToManifest

    Convert a legacy storymap document into a IIIF Presentation 3 manifest — the writer counterpart of manifestToStorymapData(). Pure, so the same document always produces the same manifest.

    • Convert a legacy storymap document to a IIIF Presentation 3.0 manifest.

      The counterpart of manifestToStorymapData(): what that reads, this writes. Nothing but the input is read, so the same document always produces the same manifest — which is what makes regenerating public/examples-iiif/ a no-op.

      Parameters

      • name: string

        The manifest's label, and the stem of its canonical id.

      • legacy: StorymapDocument

        The storymap.json document ({ "storymap": {...} }).

      Returns StorymapManifest

      The manifest, ready to serialise.