Constructors

Properties

key: bigint = 0n
type: string = Quadkey.type
root: Quadkey = ...
type: string = 'Quadkey'
Zero: Quadkey = ...

Accessors

  • get base4HashLabel(): string
  • Returns string

  • get boundingBox(): MercatorBoundingBox
  • Returns MercatorBoundingBox

  • get gridLocation(): { col: number; row: number; zoom: number }
  • Returns { col: number; row: number; zoom: number }

Methods

  • Parameters

    • size: number

    Returns { height: number; left: number; top: number; width: number }

  • Returns { col: number; row: number; zoom: number }

    use .gridLocation instead

  • Parameters

    • boundingBox: MercatorBoundingBox

    Returns boolean

  • Parameters

    • boundingBox: MercatorBoundingBox
    • zoom: number

    Returns Quadkey[]

  • Parameters

    • zoom: number
    • id: string
    • base: number = 16

    Returns Quadkey