Package google.type
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
LatLng
一个表示纬度/经度对的对象。该对象以一对双精度数(分别代表纬度度数和经度度数)来表示。除非另有说明,否则该对象必须符合 WGS84 标准。值必须介于标准化范围内。
字段 |
latitude |
double
纬度(以度为单位)。它必须在 [-90.0, +90.0] 范围内。
|
longitude |
double
经度(以度为单位)。它必须在 [-180.0, +180.0] 范围内。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[[["LatLng is a message used to represent a location on the earth's surface using latitude and longitude coordinates."],["Latitude and longitude values are expressed as doubles and should conform to the WGS84 standard."],["Latitude must be within the range of -90.0 to +90.0 degrees, while longitude must be within the range of -180.0 to +180.0 degrees."]]],["The core content describes the `LatLng` object, which represents a latitude/longitude pair using double values for degrees. It adheres to the WGS84 standard. The `latitude` field, a double, must range from -90.0 to +90.0. The `longitude` field, also a double, must be within the range of -180.0 to +180.0. These fields are essential for defining a specific geographic point.\n"]]