Location API component

Hierarchy

Constructors

Properties

Methods

Constructors

  • Create a Location object for the API

    Parameters

    • longitude: number

      Longitude of the location

    • latitude: number

      Latitude of the location

    • Optional name: string

      Name of the location

    • Optional address: string

      Address of the location, only displayed if name is present

    Returns Location

Properties

address?: string

The address of the location

latitude: number

The longitude of the location

longitude: number

The latitude of the location

name?: string

The name of the location

Methods

Generated using TypeDoc