Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Extract the relative dataset path from a full URL — the path-portion up to and including the first .zarr or .zarr.zip segment. Used to pre-populate the breadcrumb when re-opening the browser on a dataset that's already loaded.

      Returns an empty string when:

      • the URL is empty / falsy;
      • parsing fails (defensive);
      • no .zarr or .zarr.zip segment is found in the URL path.

      Parameters

      • url: string

      Returns string