W-CF Documentation - v11.0.0
    Preparing search index...

    Interface PecImportOptions

    interface PecImportOptions {
        modelItemsSupported?: boolean;
        onProgress?: ProgressCallback;
        shouldUpdateCallback?: (pItemProps: ItemProperties) => boolean;
        view?: View;
    }
    Index
    modelItemsSupported?: boolean

    If true items representing a model will be loaded as ordinary articles. If false models will be loaded as plain geometries. (default: false)

    onProgress?: ProgressCallback

    Callback for progress handling.

    shouldUpdateCallback?: (pItemProps: ItemProperties) => boolean

    Callback for article update handling. If the PEC does not contain GFJ data, the GFJ will be requested from EAIWS. If an article requires an update or migration this callback will be called.

    view?: View

    If the pec contains a camera definition and the view is given, the camera will be loaded for this view. Not supported from importFromCatalog() at the moment.