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
28
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
object via its nsIDOMGeoPositionAddress
address
attribute.
Note: This needs to be moved into the DOM Reference.
Attributes
Attribute | Type | Description |
city |
| The city. Read only. |
country |
| The country. Read only. |
countryCode Obsolete since Gecko 11 |
| Removed in Firefox 11, since it isn't defined in the specification; use country instead. |
county |
| The county. Read only. |
postalCode |
| The postal or ZIP code. Read only. |
premises |
| The premises. Read only. |
region |
| The region. Read only. |
street |
| The street of the address. Read only. |
streetNumber |
| 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.