LatLng
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Obiekt reprezentujący parę szerokości i długości geograficznej. Jest to para liczb podwójnie po przecinku, która reprezentuje stopnie szerokości i długości geograficznej. Jeśli nie określono inaczej, obiekt musi być zgodny ze standardem WGS84. Wartości muszą mieścić się w normalizowanych zakresach.
Zapis JSON |
{
"latitude": number,
"longitude": number
} |
Pola |
latitude |
number
Szerokość geograficzna w stopniach. Musi mieścić się w zakresie [-90,0, +90,0].
|
longitude |
number
Długość geograficzna w stopniach. Musi mieścić się w zakresie [-180,0, +180,0].
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-29 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-29 UTC."],[],[],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\\]. |"]]