GeoCoordinates
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อมูลทางภูมิศาสตร์ของสถานที่ตั้ง เช่น ละติจูด ลองจิจูด และที่อยู่
การแสดง JSON |
{
"latitude": number,
"longitude": number,
// Union field addresses can be only one of the following:
"address": {
object (PostalAddress )
},
"unstructuredAddress": string
// End of list of possible types for union field addresses .
} |
ช่อง |
latitude |
number
ละติจูดเป็นองศา (ไม่บังคับ)
|
longitude |
number
ลองจิจูด เป็นองศา (ไม่บังคับ)
|
ฟิลด์สหภาพ addresses ที่อยู่ของสถานที่ตั้งอาจเป็นแบบมีโครงสร้างหรือไม่มีโครงสร้าง addresses ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
address |
object (PostalAddress )
ที่อยู่ทางไปรษณีย์ของสถานที่ตั้ง (ควรเป็น)
|
unstructuredAddress |
string
นอกจากนี้ คุณยังระบุที่อยู่ที่ไม่มีโครงสร้างเป็นที่อยู่สำรองได้อีกด้วย เช่น "1600 แอมฟิเธียเตอร์ พาร์คเวย์ เมาน์เทนวิว แคลิฟอร์เนีย 94043"
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThe Geo data of a location includes latitude, longitude, and address, represented in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eAddress can be provided in a structured format using \u003ccode\u003eaddress\u003c/code\u003e field (PostalAddress object) or an unstructured format using \u003ccode\u003eunstructuredAddress\u003c/code\u003e field (string).\u003c/p\u003e\n"],["\u003cp\u003eLatitude and longitude are represented as numbers in degrees and are optional fields within the Geo data.\u003c/p\u003e\n"]]],[],null,["# GeoCoordinates\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe Geo data of a location, including latitude, longitude, and address.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"latitude\": number, \"longitude\": number, // Union field `addresses` can be only one of the following: \"address\": { object (/maps-booking/reference/maps-booking-api/rest/v1alpha/PostalAddress) }, \"unstructuredAddress\": string // End of list of possible types for union field `addresses`. } ``` |\n\n| Fields ||\n|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `latitude` | `number` Latitude in degrees. (optional) |\n| `longitude` | `number` Longitude in degrees. (optional) |\n| Union field `addresses`. Address for a location, could either be structured or unstructured. `addresses` can be only one of the following: ||\n| `address` | `object (`[PostalAddress](/maps-booking/reference/maps-booking-api/rest/v1alpha/PostalAddress)`)` Postal address of the location, preferred. |\n| `unstructured``Address` | `string` An unstructured address could also be provided as a fallback. E.g. \"1600 amphitheatre parkway mountain view, ca 94043\" |"]]