Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • new GeoTile(x: number, y: number, z: number): GeoTile
  • Parameters

    • x: number
    • y: number
    • z: number

    Returns GeoTile

Properties

Readonly x

x: number

Readonly y

y: number

Readonly z

z: number

Accessors

bounds

  • Returns GeoBox

center

  • Returns GeoPoint

east

  • get east(): number
  • Returns number

latMax

  • get latMax(): number
  • Returns number

latMin

  • get latMin(): number
  • Returns number

lngMax

  • get lngMax(): number
  • Returns number

lngMin

  • get lngMin(): number
  • Returns number

north

  • get north(): number
  • Returns number

northEast

  • Returns GeoPoint

northEastTile

  • Returns GeoTile

northWest

  • Returns GeoPoint

northWestTile

  • Returns GeoTile

parentTile

  • Returns GeoTile

south

  • get south(): number
  • Returns number

southEast

  • Returns GeoPoint

southEastTile

  • Returns GeoTile

southWest

  • Returns GeoPoint

southWestTile

  • Returns GeoTile

west

  • get west(): number
  • Returns number

Methods

contains

  • contains(that: AnyGeoShape): boolean
  • contains(lng: number, lat: number): boolean
  • Parameters

    Returns boolean

  • Parameters

    • lng: number
    • lat: number

    Returns boolean

containsBox

  • containsBox(that: GeoBox): boolean
  • Parameters

    Returns boolean

containsPoint

  • containsPoint(that: GeoPoint): boolean
  • Parameters

    Returns boolean

containsSegment

  • Parameters

    Returns boolean

containsTile

  • containsTile(that: GeoTile): boolean
  • Parameters

    Returns boolean

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equivalentTo

  • equivalentTo(that: unknown, epsilon?: number): boolean
  • Parameters

    • that: unknown
    • Optional epsilon: number

    Returns boolean

hashCode

  • hashCode(): number
  • Returns number

intersects

  • Parameters

    Returns boolean

intersectsBox

  • intersectsBox(that: GeoBox): boolean
  • Parameters

    Returns boolean

intersectsPoint

  • intersectsPoint(that: GeoPoint): boolean
  • Parameters

    Returns boolean

intersectsSegment

  • Parameters

    Returns boolean

intersectsTile

  • intersectsTile(that: GeoTile): boolean
  • Parameters

    Returns boolean

project

toAny

  • Returns GeoTileInit

toString

  • toString(): string
  • Returns string

union

Static fromAny

Static fromInit

  • Parameters

    Returns GeoTile

Static fromTuple

  • Parameters

    Returns GeoTile

Static isAny

  • Parameters

    • value: unknown

    Returns value is AnyGeoTile

Static isInit

  • Parameters

    • value: unknown

    Returns value is GeoTileInit

Static isTuple

  • Parameters

    • value: unknown

    Returns value is GeoTileTuple

Static of

  • of(x: number, y: number, z: number): GeoTile
  • Parameters

    • x: number
    • y: number
    • z: number

    Returns GeoTile

Static root

  • Returns GeoTile

Static unprojectX

  • unprojectX(x: number): number
  • Parameters

    • x: number

    Returns number

Static unprojectY

  • unprojectY(y: number): number
  • Parameters

    • y: number

    Returns number

Generated using TypeDoc