StoryMapJS API
    Preparing search index...

    Interface StorymapMapOptions

    OpenLayers passthrough options (see StorymapOptions.map_options)

    interface StorymapMapOptions {
        controls?: unknown[];
        element?: string | HTMLElement;
        interactions?: unknown[];
        view?: Record<string, unknown>;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Any other ol/Map constructor option (layers, pixelRatio, ...)

    Index
    controls?: unknown[]

    Replaces the default (empty) controls list

    element?: string | HTMLElement

    HTMLElement or DOM id that becomes the real map container

    interactions?: unknown[]

    Added to the viewer's own pan/zoom interactions (not a replacement: the viewer's defaults are always added). controls is a replacement, since the viewer adds none of its own.

    view?: Record<string, unknown>

    Merged over the default view configuration