Represents the result from a geocoding request to an online service.

Hierarchy

  • GeoCodingResult

Constructors

Properties

address: string = ""

The physical address that was geocoded.

latitude: number = 0

The geographical latitude of the given address.

longitude: number = 0

The geographical longitude of the given address.

The GeoCodingService that was used to geocode the given address.

success: boolean = false

Whether the GeoCodingService was able to geocode the given address.

Methods

  • Returns string

    #address

  • Returns number

    #latitude

  • Returns number

    #longitude

  • Returns boolean

    #success

  • Sets #address.

    Parameters

    • address: string

      The physical address that was geocoded.

    Returns void

  • Sets #latitude.

    Parameters

    • latitude: number

      The geographical latitude of the given address.

    Returns void

  • Sets #longitude.

    Parameters

    • longitude: number

      The geographical longitude of the given address.

    Returns void

  • Sets #success.

    Parameters

    • success: boolean

      Whether the GeoCodingService was able to geocode the given address.

    Returns void

Generated using TypeDoc