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 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-31 (שעון UTC)."],[[["\u003cp\u003eThe latitude/longitude pair is represented as an object with \u003ccode\u003elatitude\u003c/code\u003e and \u003ccode\u003elongitude\u003c/code\u003e fields, both of which are numbers.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003elatitude\u003c/code\u003e values must be within the range of -90.0 to +90.0 degrees, while \u003ccode\u003elongitude\u003c/code\u003e values must be within the range of -180.0 to +180.0 degrees, conforming to the WGS84 standard.\u003c/p\u003e\n"],["\u003cp\u003eThis object represents a geographic coordinate using a pair of doubles to express latitude and longitude in degrees.\u003c/p\u003e\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\\]. |"]]