nsIDOMGeoPositionAddress 编辑
dom/interfaces/geolocation/nsIDOMGeoPositionAddress.idl
Scriptable 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
object via its nsIDOMGeoPositionAddress
address
attribute.
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.
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论