Package google.type
LatLng
אובייקט שמייצג צמד של קו רוחב/קו אורך. ערך זה מבוטא כצמד זוגות לייצוג מעלות קו רוחב ומעלות קו אורך. אם לא צוין אחרת, האובייקט הזה חייב לעמוד ב תקן WGS84. הערכים חייבים להיות בטווחים מנורמלים.
שדות |
latitude |
double
קו הרוחב במעלות. הערך חייב להיות בטווח של [ -90.0, +90.0].
|
longitude |
double
קו האורך במעלות. הוא צריך להיות בטווח של [ -180.0, +180.0].
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[null,null,["עדכון אחרון: 2023-12-01 (שעון UTC)."],[[["LatLng is a message object used to represent a latitude/longitude pair using a pair of doubles conforming to the WGS84 standard."],["Latitude 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."]]],["The core content describes the `LatLng` object, which represents a latitude/longitude pair using double values for degrees. It adheres to the WGS84 standard and requires normalized values. The `latitude` field, a double, must be within the range of -90.0 to +90.0 degrees. The `longitude` field, also a double, must be within the range of -180.0 to +180.0 degrees. These are the only fields and their value ranges.\n"]]