dom/interfaces/geolocation/nsIDOMGeoPositionAddress.idlScriptable
This interface describes the geographical address of a location, including street, city, and country information, for example. This information may or may not be available, depending on the geolocation service being used.
1.0
66
Introduced
Gecko 1.9.2
Obsolete
Gecko 14.0
Inherits from: nsISupports Last changed in Gecko 11 (Firefox 11 / Thunderbird 11 / SeaMonkey 2.8)

This object is obtained from an nsIDOMGeoPositionAddress object via its address attribute.

Note: This needs to be moved into the DOM Reference.

Attributes

Attribute Type Description
city DOMString The city. Read only.
country DOMString The country. Read only.
countryCode Obsolete since Gecko 11 DOMString Removed in Firefox 11, since it isn't defined in the specification; use country instead.
county DOMString The county. Read only.
postalCode DOMString The postal or ZIP code. Read only.
premises DOMString The premises. Read only.
region DOMString The region. Read only.
street DOMString The street of the address. Read only.
streetNumber DOMString The street number of the address. Read only.

Historical note, which is likely of no interest to most readers: the types of the attributes below all changed from string to DOMString in Gecko 1.9.2 beta 5.

See also