Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIDOMGeoPositionAddress

Nos bénévoles n'ont pas encore traduit cet article en Français. Aidez-nous à réaliser cette tâche !

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 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

Étiquettes et contributeurs liés au document

 Contributeurs à cette page : Sheppy, Nickolay, trevorh
 Dernière mise à jour par : Sheppy,