inaturalistjs
    Preparing search index...

    Type Alias GetTaxonRangesByTaxonIdByZoomByXByYPngData

    type GetTaxonRangesByTaxonIdByZoomByXByYPngData = {
        body?: never;
        path: { taxonId: number; x: number; y: number; zoom: number };
        query?: { color?: string; ttl?: string };
        url: "/taxon_ranges/{taxon_id}/{zoom}/{x}/{y}.png";
    }
    Index

    Properties

    Properties

    body?: never
    path: { taxonId: number; x: number; y: number; zoom: number }

    Type declaration

    • taxonId: number

      Taxon ID

    • x: number

      X coordinate in the XYZ tiling scheme. Must be less than 2^zoom

    • y: number

      Y coordinate in the XYZ tiling scheme. Must be less than 2^zoom

    • zoom: number

      Zoom level. Z coordinate in the XYZ tiling scheme

    query?: { color?: string; ttl?: string }

    Type declaration

    • Optionalcolor?: string

      Primary color to use in tile creation. Accepts common colors by string (e.g. color=blue), and accepts escaped color HEX codes (e.g. color=%2386a91c)

    • Optionalttl?: string

      Set the Cache-Control HTTP header with this value as max-age, in seconds. This means subsequent identical requests will be cached on iNaturalist servers, and commonly within web browsers

    url: "/taxon_ranges/{taxon_id}/{zoom}/{x}/{y}.png"