Options
All
  • Public
  • Public/Protected
  • All
Menu

A class to store location information.

author

"Travis Redpath"

Hierarchy

  • LatLon

Index

Constructors

Properties

Constructors

constructor

  • new LatLon(lat: number, lon: number): LatLon
  • Construct a new LatLon with the given latitude and longitude.

    Parameters

    • lat: number

      The latitude.

    • lon: number

      The longitude.

    Returns LatLon

Properties

latitude

latitude: number = 0

The locations latitude.

longitude

longitude: number = 0

The locations longitude.