LatLng
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
كائن يمثّل زوجًا من خط العرض/الطول ويتم التعبير عن ذلك في صورة زوج من الزوجين لتمثيل درجات الطول والعرض والدرجات. يجب أن يتوافق هذا العنصر مع معيار WGS84 ما لم يُذكر خلاف ذلك. يجب أن تكون القيم ضمن النطاقات التي تمت تسويتها.
تمثيل JSON |
{
"latitude": number,
"longitude": number
} |
الحقول |
latitude |
number
خط العرض بالدرجات. يجب أن يكون في النطاق [ -90.0، +90.0].
|
longitude |
number
خط الطول بالدرجات. يجب أن يكون في النطاق [ -180.0، +180.0].
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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\\]. |"]]