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 ) آدرس پستی محل، ترجیح داده می شود. |
unstructured Address | string یک آدرس بدون ساختار نیز می تواند به عنوان یک بازگشت ارائه شود. به عنوان مثال "1600 amphitheatre parkway view mountain, ca 94043" |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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\" |"]]