LatLng
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
شیئی که نشان دهنده یک جفت طول و عرض جغرافیایی است. این به صورت یک جفت دوتایی برای نشان دادن درجه عرض جغرافیایی و درجه طول جغرافیایی بیان می شود. مگر اینکه طور دیگری مشخص شده باشد، این شی باید با استاندارد WGS84 مطابقت داشته باشد. مقادیر باید در محدوده نرمال شده باشند.
نمایندگی JSON |
---|
{
"latitude": number,
"longitude": number
} |
فیلدها |
---|
latitude | number عرض جغرافیایی بر حسب درجه باید در محدوده [-90.0، +90.0] باشد. |
longitude | number طول جغرافیایی بر حسب درجه باید در محدوده [-180.0، +180.0] باشد. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe object represents a latitude/longitude pair, expressed as a pair of doubles to represent degrees latitude and degrees longitude, conforming to the WGS84 standard.\u003c/p\u003e\n"],["\u003cp\u003eLatitude values must be within the range of -90.0 to +90.0 degrees, while longitude values must be within the range of -180.0 to +180.0 degrees.\u003c/p\u003e\n"]]],["The core content describes a JSON object representing a latitude/longitude pair. It requires two numerical fields: `latitude` (ranging from -90.0 to +90.0) and `longitude` (ranging from -180.0 to +180.0), both in degrees. The object must adhere to the WGS84 standard. The JSON representation format is `{ \"latitude\": number, \"longitude\": number }`. These ranges represent normalized value limits.\n"],null,["# LatLng\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nAn object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the [WGS84 standard](https://en.wikipedia.org/wiki/World_Geodetic_System#1984_version). Values must be within normalized ranges.\n\n| JSON representation |\n|-----------------------------------------------------|\n| ``` { \"latitude\": number, \"longitude\": number } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------|\n| `latitude` | `number` The latitude in degrees. It must be in the range \\[-90.0, +90.0\\]. |\n| `longitude` | `number` The longitude in degrees. It must be in the range \\[-180.0, +180.0\\]. |"]]