XYZ Maps Documentation
    Preparing search index...

    Type Alias PreProcessor

    PreProcessor: (
        input: Omit<ProcessorInput, "data"> & { data: any[] },
    ) => GeoJSONFeature[] | Promise<GeoJSONFeature[]> | void

    Main-thread preprocessor, including Promise and legacy callback completion. Receives loaded features, the provider, and optional tile coordinates. Return the processed features or call ready(features) when returning void.

    Type Declaration