Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • new GeoPoint(lng: number, lat: number): GeoPoint
  • Parameters

    • lng: number
    • lat: number

    Returns GeoPoint

Properties

Readonly lat

lat: number

Readonly lng

lng: number

Accessors

bounds

  • Returns GeoBox

latMax

  • get latMax(): number
  • Returns number

latMin

  • get latMin(): number
  • Returns number

lngMax

  • get lngMax(): number
  • Returns number

lngMin

  • get lngMin(): 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

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

interpolateTo

  • Parameters

    Returns Interpolator<GeoPoint>

  • Parameters

    • that: unknown

    Returns null | Interpolator<GeoPoint>

intersects

  • Parameters

    Returns boolean

isDefined

  • isDefined(): boolean
  • Returns boolean

normalized

  • Returns GeoPoint

project

toAny

  • Returns GeoPointInit

toString

  • toString(): string
  • Returns string

union

Static fromAny

Static fromInit

  • Parameters

    Returns GeoPoint

Static fromTuple

  • Parameters

    Returns GeoPoint

Static isAny

  • Parameters

    • value: unknown

    Returns value is AnyGeoPoint

Static isInit

  • Parameters

    • value: unknown

    Returns value is GeoPointInit

Static isTuple

  • Parameters

    • value: unknown

    Returns value is GeoPointTuple

Static normalizeLat

  • normalizeLat(lat: number): number
  • Parameters

    • lat: number

    Returns number

Static normalizeLng

  • normalizeLng(lng: number): number
  • Parameters

    • lng: number

    Returns number

Static normalized

  • normalized(lng: number, lat: number): GeoPoint
  • Parameters

    • lng: number
    • lat: number

    Returns GeoPoint

Static of

  • of(lng: number, lat: number): GeoPoint
  • Parameters

    • lng: number
    • lat: number

    Returns GeoPoint

Static origin

  • Returns GeoPoint

Static undefined

  • Returns GeoPoint

Generated using TypeDoc