Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Address

Represents an address with components such as street name and number, postcode, city, country, etc.

Hierarchy

  • Address

Implements

Index

Constructors

constructor

  • Initializes an Address object.

    Parameters

    Returns Address

Properties

city

city: string

The city of this address.

country

country: Country

The country of this address.

formattedAddress

formattedAddress: string

The formatted version of the address that was found during the geocoding operation.

names

Information about the names for this address. This is used in cases where a street has multiple names: for example a highway name, such as I-405, and a common name, such as San Diego Freeway.

number

number: number

The street number of this address.

postalcode

postalcode: string

The postal (or ZIP) code of this address.

rawAddress

rawAddress: OneLineAddressData

The original address that was given to the geocoder.

region

region: string

Name of the largest administrative region (for example: State name in the USA, Bundesländer name in Germany, or the Province name in Britain). Region may be null if no data is available.

regions

regions: string[]

Contains the list of regions for this address, with the most specific region (e.g. suburb or city) first.

subregions

subregions: string[]

A list of subregions or suburbs for this address.

Static ASSEMBLY_NAME

ASSEMBLY_NAME: string = GEOBASE_ASSEMBLY_NAME

Static CLASS_NAME

CLASS_NAME: string = "Telogis.GeoBase.Address"

Methods

toAddressData

toString

  • toString(): string
  • Displays the formatted address.

    Returns string

Generated using TypeDoc