Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GeographyPoint

Package version

Represents a geographic point in global coordinates.

Hierarchy

  • GeographyPoint

Index

Constructors

Properties

Methods

Constructors

constructor

  • new GeographyPoint(latitude: number, longitude: number): GeographyPoint
  • Constructs a new instance of GeographyPoint given the specified coordinates.

    Parameters

    • latitude: number

      latitude value in decimal

    • longitude: number

      longitude value in decimal

    Returns GeographyPoint

Properties

latitude

latitude: number

The latitude in decimal.

longitude

longitude: number

The longitude in decimal.

Methods

toJSON

  • toJSON(): object

Generated using TypeDoc