GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Confronts the fields a layer's readers declare with a sample of its features, and warns — once per layer and field — about each one no sampled feature carries.

      Never throws: a diagnostic that broke the load would be worse than the silence it replaces.

      Parameters

      • layerId: string

        The layer's identifier.

      • def: unknown

        The layer's definition.

      • style: unknown

        The style document the layer wears, or null.

      • features: readonly unknown[]

        The layer's features, as converted. Empty: nothing is judged.

      Returns void

      // In the loader, once the features are converted and the style resolved:
      reconcileLayerFields(layerId, def, preloadedStyleData, features);