nsIDOMGeoPositionAddress 编辑

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

AttributeTypeDescription
cityDOMStringThe city. Read only.
countryDOMStringThe country. Read only.
countryCodeObsolete since Gecko 11DOMStringRemoved in Firefox 11, since it isn't defined in the specification; use country instead.
countyDOMStringThe county. Read only.
postalCodeDOMStringThe postal or ZIP code. Read only.
premisesDOMStringThe premises. Read only.
regionDOMStringThe region. Read only.
streetDOMStringThe street of the address. Read only.
streetNumberDOMStringThe 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:94 次

字数:3535

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文