@squawk
    Preparing search index...
    • Asynchronously loads, decompresses, and parses the bundled airspace GeoJSON dataset. Returns the same AirspaceDataset shape as the Node entry point exports as usBundledAirspace.

      Handles servers that advertise transport-level gzip via Content-Encoding: gzip (in which case fetch() decodes the body automatically) as well as servers that serve the .gz as opaque bytes.

      import { loadUsBundledAirspace } from '@squawk/airspace-data/browser';
      import { createAirspaceResolver } from '@squawk/airspace';

      const dataset = await loadUsBundledAirspace();
      const resolver = createAirspaceResolver({ data: dataset });

      To host the asset on your own CDN or to override the URL for any other reason, pass an explicit url:

      const dataset = await loadUsBundledAirspace({
      url: 'https://your-cdn.example/airspace.geojson.gz',
      });

      Parameters

      Returns Promise<AirspaceDataset>