• Skip to main content
  • Skip to search
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web 开发技术
  2. Web API 接口参考
  3. Coordinates
  4. Coordinates.latitude
  • Change language
  • View in English

Table of contents

  • 语法
  • 规范
  • 相关链接

Coordinates.latitude

安全上下文

此项功能仅在安全上下文(HTTPS), 一些 支持的浏览器.

Coordinates.latitude 只读属性,十进制双精度浮点数来表示纬度坐标

语法

lat = coordinates.latitude

规范

规范 状态 说明
Geolocation API
Coordinates.latitude
Recommendation Initial specification.

相关链接

  • Using geolocation
  • The Coordinates interface it belongs to.

Last modified: Oct 15, 2020, by MDN contributors

Change your language

Related Topics

  1. Geolocation API
  2. GeolocationCoordinates
  3. 属性
    1. accuracy
    2. altitude
    3. altitudeAccuracy
    4. heading
    5. latitude
    6. longitude
    7. speed
  4. Related pages for Geolocation API
    1. Geolocation
    2. GeolocationPosition
    3. GeolocationPositionError
    4. Navigator.geolocation
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

Mozilla

© 2005-2021 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies